r477 - trunk/scripts

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jan 25 19:21:46 EST 2008


Author: icculus
Date: 2008-01-25 19:21:46 -0500 (Fri, 25 Jan 2008)
New Revision: 477

Modified:
   trunk/scripts/mojosetup_mainline.lua
Log:
Fixed shell expansion in uninstall script (thanks, Gerry!).


Modified: trunk/scripts/mojosetup_mainline.lua
===================================================================
--- trunk/scripts/mojosetup_mainline.lua	2008-01-25 16:23:08 UTC (rev 476)
+++ trunk/scripts/mojosetup_mainline.lua	2008-01-26 00:21:46 UTC (rev 477)
@@ -934,7 +934,7 @@
 
     local script =
         "#!/bin/sh\n" ..
-        "exec " .. bin .. " uninstall '" .. id .. "' $*\n\n"
+        "exec " .. bin .. " uninstall '" .. id .. "' \"$@\"\n\n"
 
     install_parent_dirs(fname, key)
     install_file_from_string(fname, script, "0755", desc, key)




More information about the mojosetup-commits mailing list