]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/tools/encode-demos.sh
Fix all "export" commands. Fixes some issues with weird shells.
[xonotic/xonotic.git] / misc / tools / encode-demos.sh
index 139b4a5389b6ab033d604f7dc727434644bc17ab..ab84bd3c33e5076f21b7b595a39f05b055e44b60 100755 (executable)
@@ -83,7 +83,7 @@ _check_xonotic_dir() {
 _get_xonotic_dir() {
     relative_dir=$(dirname $0)/../..
     _check_xonotic_dir ${relative_dir}
-    export XONOTIC_DIR=$(cd ${relative_dir}; pwd)
+    export XONOTIC_DIR="$(cd ${relative_dir}; pwd)"
 }
 
 _kill_xonotic() {