Make it look nicer, but do the same ;)
authorRudolf Polzer <rpolzer@grawp.(none)>
Fri, 2 Apr 2010 18:35:19 +0000 (20:35 +0200)
committerRudolf Polzer <rpolzer@grawp.(none)>
Fri, 2 Apr 2010 18:35:19 +0000 (20:35 +0200)
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