]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
rerunning did not work for me, this should fix it
authorStephan Stahl <esteel@eos.franken.de>
Wed, 31 Mar 2010 11:27:14 +0000 (13:27 +0200)
committerStephan Stahl <esteel@eos.franken.de>
Wed, 31 Mar 2010 11:27:14 +0000 (13:27 +0200)
all

diff --git a/all b/all
index 7a2f62db0c2fcbf6b29be9dd44edd50a28bdb5da..2b1cd557c92a1072f9d13d47f2b5b52ec002d531 100755 (executable)
--- a/all
+++ b/all
@@ -16,7 +16,7 @@ checkself()
                if [ -z "$XONOTIC_FORBID_RERUN_ALL" ]; then
                        msg "Rerunning the requested operation to make sure."
                        export XONOTIC_FORBID_RERUN_ALL=1
-                       exec "$@"
+                       exec "$0" "$@"
                else
                        msg "Please try $0 update, and then retry your requested operation."
                        exit 1