Kaydet (Commit) 2a596e1f authored tarafından Enrico Tröger's avatar Enrico Tröger

Made the created run script for command execution a bit more portable to other…

Made the created run script for command execution a bit more portable to other shells than bash (thanks to Nacho Cabanes for reporting).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1066 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 5cfaedda
2006-12-08 Enrico Troeger <enrico.troeger@uvena.de>
* src/build.c: Made the created run script for command execution a bit
more portable to other shells than bash (thanks to
Nacho Cabanes for reporting).
2006-12-07 Frank Lanitz <frank@frank.uvena.de>
* src/about.c,THANKS,configure.in,po/fr.po:
Added French translation (Thanks to Jean-Philippe Moal)
* src/about.c, THANKS, configure.in, po/fr.po:
Added French translation (Thanks to Jean-Philippe Moal).
2006-12-07 Enrico Tröger <enrico.troeger@uvena.de>
......
......@@ -779,7 +779,8 @@ static gboolean build_create_shellscript(const gint idx, const gchar *fname, con
#else
str = g_strdup_printf(
"#!/bin/sh\n\n%s\n\necho \"\n\n------------------\n(program exited with code: $?)\" \
\n\necho \"Press return to continue\"\n%s\nunlink $0\n", cmd, (autoclose) ? "" : "read");
\n\necho \"Press return to continue\"\n%s\nunlink $0\n", cmd, (autoclose) ? "" :
"#to be more compatible with shells like dash\ndummy_var=\"\"\nread dummy_var");
#endif
fputs(str, fp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment