From: Christian Heller <plom@localhost.localdomain>
Date: Fri, 7 Mar 2014 05:45:23 +0000 (+0100)
Subject: Provides more predictable shell argument expansions. As erlehmann told
X-Git-Tag: tce~838
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/add_task?a=commitdiff_plain;h=f901f7a2fb8db4ec7b1a2497d79677de06dea0a5;p=plomrogue

Provides more predictable shell argument expansions. As erlehmann told
me: "Always put quotes around variables, except if you know why you
don't want to!"
---

diff --git a/roguelike b/roguelike
index ec72ca9..ae3fd75 100755
--- 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