]> git.ipfire.org Git - thirdparty/git.git/commitdiff
DoKernelOrg: default --final only on the master machine
authorJunio C Hamano <gitster@pobox.com>
Wed, 5 Jan 2011 23:34:58 +0000 (15:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Jan 2011 23:34:58 +0000 (15:34 -0800)
DoKernelOrg

index cb269e0eee490f34d173ea20167bc75c359e5274..7e3e9c607018ab00efae9e8a93f99fd132ba9827 100755 (executable)
@@ -30,14 +30,6 @@ do
        STAGE="${STAGE%/}"
 done
 
-if test -z "$final"
-then
-       case "$STAGE" in
-       ?*)     final=f ;;
-       '')     final=t ;;
-       esac
-fi
-
 if test -z "$master"
 then
        case "$(hostname)" in
@@ -49,6 +41,13 @@ fi
 if test t = "$master"
 then
        narch='x86_64 i386 i686'
+       if test -z "$final"
+       then
+               case "$STAGE" in
+               ?*)     final=f ;;
+               '')     final=t ;;
+               esac
+       fi
 else
        if test t != "$rpm"
        then