DoKernelOrg: default --final only on the master machine
Junio C Hamano committed
Jan 5, 2011 at 15:34 UTC
b8dfae28e3cadaec53712132eed004648e2bde91
1 file changed
+7
-8
DoKernelOrg
+7
-8
@@ -30,14 +30,6 @@ do
30
STAGE="${STAGE%/}"
31
done
32
33
-if test -z "$final"
34
-then
35
- case "$STAGE" in
36
- ?*) final=f ;;
37
- '') final=t ;;
38
- esac
39
-fi
40
-
33
if test -z "$master"
34
then
35
case "$(hostname)" in
@@ -49,6 +41,13 @@ fi
41
if test t = "$master"
42
then
43
narch='x86_64 i386 i686'
44
+ if test -z "$final"
45
+ then
46
+ case "$STAGE" in
47
+ ?*) final=f ;;
48
+ '') final=t ;;
49
+ esac
50
+ fi
51
else
52
if test t != "$rpm"
53
then