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

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


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1206 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 5f7777ea
2007-01-19 Enrico Tröger <enrico.troeger@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@uvena.de>
* src/project.c: Do not auto complete project filename and base path
......
......@@ -857,7 +857,7 @@ 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\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
......
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