SF.net SVN: geany: [1206] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Jan 19 15:45:43 UTC 2007


Revision: 1206
          http://svn.sourceforge.net/geany/?rev=1206&view=rev
Author:   eht16
Date:     2007-01-19 07:45:43 -0800 (Fri, 19 Jan 2007)

Log Message:
-----------
Use "rm" to delete the run script because unlink is not available on all systems.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/build.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-01-18 22:28:21 UTC (rev 1205)
+++ trunk/ChangeLog	2007-01-19 15:45:43 UTC (rev 1206)
@@ -1,3 +1,9 @@
+2007-01-19  Enrico Tröger  <enrico.troeger at uvena.de>
+
+ * src/build.c: Use "rm" to delete the run script because unlink is not
+                available on all systems.
+
+
 2007-01-18  Enrico Tröger  <enrico.troeger at uvena.de>
 
  * src/project.c: Do not auto complete project filename and base path

Modified: trunk/src/build.c
===================================================================
--- trunk/src/build.c	2007-01-18 22:28:21 UTC (rev 1205)
+++ trunk/src/build.c	2007-01-19 15:45:43 UTC (rev 1206)
@@ -857,7 +857,7 @@
 #else
 	str = g_strdup_printf(
 		"#!/bin/sh\n\n%s\n\necho \"\n\n------------------\n(program exited with code: $?)\" \
-		\n\n%s\nunlink $0\n", cmd, (autoclose) ? "" :
+		\n\n%s\nrm $0\n", cmd, (autoclose) ? "" :
 		"\necho \"Press return to continue\"\n#to be more compatible with shells like dash\ndummy_var=\"\"\nread dummy_var");
 #endif
 


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