]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
Make it look nicer, but do the same ;)
[xonotic/xonotic.git] / all
diff --git a/all b/all
index e5260071168ef9e79bd7cf6e8db36a37f9f458a0..d217389619a38a01c9d1d77b483ba53707a49df9 100755 (executable)
--- a/all
+++ b/all
@@ -21,7 +21,7 @@ case "$0" in
                        MINGW*)
                                # Windows hates users. So this script has to copy itself elsewhere first...
                                tname=
                        MINGW*)
                                # Windows hates users. So this script has to copy itself elsewhere first...
                                tname=
-                               cp "$0" ../all.xonotic.sh
+                               cp "$SELF" ../all.xonotic.sh
                                exec ../all.xonotic.sh "$@"
                                ;;
                esac
                                exec ../all.xonotic.sh "$@"
                                ;;
                esac