File tree Expand file tree Collapse file tree 1 file changed +22
-8
lines changed
Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -35,24 +35,38 @@ case "$1" in
3535 ;;
3636
3737maint | master)
38- arch=x86_64
38+ case ` hostname` in
39+ hera.kernel.org)
40+ arch=x86_64 ;;
41+ old-hera.kernel.org)
42+ arch=i386 ;;
43+ * ) echo >&2 " What are you talking about???"
44+ exit 1 ;;
45+ esac &&
46+ : > ./:all.log &&
3947 mkdir -p $G /RPMS/$arch $G /RPMS/SRPMS &&
40-
41- echo " * Building $1 "
48+ echo " * Building $1 " &&
4249 git checkout " $1 " &&
43- make rpm > ./:rpm.log 2>&1 &&
44- make $J git >> ./:rpm.log 2>&1 &&
50+ make rpm >> ./:all.log 2>&1 &&
51+ case " $arch " in
52+ i386)
53+ status=$?
54+ echo >&2 " Done -- move RPMS to the master machine."
55+ make clean
56+ exit $status ;;
57+ esac &&
58+ make dist-doc >> ./:all.log 2>&1 &&
59+ make $J git >> ./:all.log 2>&1 &&
4560 V=` ./git --version | sed -e ' s/git version //' ` &&
46- ln git-$V .tar.gz $G /. &&
61+ ln git-$V .tar.gz git-htmldocs- $V .tar.gz git-manpages- $V .tar.gz $G /. &&
4762 ln $HOME /rpms/RPMS/$arch /git* -$V -* $G /RPMS/$arch /. &&
4863 ln $HOME /rpms/SRPMS/git-$V -* $G /RPMS/SRPMS/. &&
4964 {
5065 # I do not know how it exits, and I do not care much.
5166 /usr/local/bin/yummy $G /RPMS/$arch
5267 /usr/local/bin/yummy $G /RPMS/SRPMS
5368 :
54- } &&
55- rm -fr ./:rpm.log &&
69+ } >> ./:all.log 2>&1 &&
5670 make clean &&
5771
5872 : ;;
You can’t perform that action at this time.
0 commit comments