home · contact · privacy
Provides more predictable shell argument expansions. As erlehmann told
authorChristian Heller <plom@localhost.localdomain>
Fri, 7 Mar 2014 05:45:23 +0000 (06:45 +0100)
committerChristian Heller <plom@localhost.localdomain>
Fri, 7 Mar 2014 05:45:23 +0000 (06:45 +0100)
me: "Always put quotes around variables, except if you know why you
don't want to!"

roguelike

index ec72ca9481b56a1edf193548a4ee09431c5b99cd..ae3fd75d9d69d09130321b31fb4f1026bb8f62fc 100755 (executable)
--- a/roguelike
+++ b/roguelike
@@ -4,7 +4,7 @@
 set -e
 
 # Use the shell script's arguments to the server's arguments.
-./roguelike-server $@ &
+./roguelike-server "$@" &
 
 # Give server some time to start up and exit on error.
 sleep 0.01