SF.net SVN: geany: [1066] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Fri Dec 8 09:56:31 UTC 2006
Revision: 1066
http://svn.sourceforge.net/geany/?rev=1066&view=rev
Author: eht16
Date: 2006-12-08 01:56:31 -0800 (Fri, 08 Dec 2006)
Log Message:
-----------
Made the created run script for command execution a bit more portable to other shells than bash (thanks to Nacho Cabanes for reporting).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/build.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-12-07 20:22:59 UTC (rev 1065)
+++ trunk/ChangeLog 2006-12-08 09:56:31 UTC (rev 1066)
@@ -1,7 +1,14 @@
+2006-12-08 Enrico Troeger <enrico.troeger at 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 at 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 at uvena.de>
Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c 2006-12-07 20:22:59 UTC (rev 1065)
+++ trunk/src/build.c 2006-12-08 09:56:31 UTC (rev 1066)
@@ -779,7 +779,8 @@
#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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list