File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -56,19 +56,20 @@ case "$1" in
5656 } > :all.log 2>&1
5757 ;;
5858maint | master)
59- mkdir -p $G /RPMS/i386 $G /RPMS/SRPMS &&
59+ arch=x86_64
60+ mkdir -p $G /RPMS/$arch $G /RPMS/SRPMS &&
6061
6162 echo " * Building $1 "
6263 git checkout " $1 " &&
6364 make rpm > ./:rpm.log 2>&1 &&
6465 make $J git >> ./:rpm.log 2>&1 &&
6566 V=` ./git --version | sed -e ' s/git version //' ` &&
6667 ln git-$V .tar.gz $G /. &&
67- ln $HOME /rpms/RPMS/i386 /git* -$V -* $G /RPMS/i386 /. &&
68+ ln $HOME /rpms/RPMS/$arch /git* -$V -* $G /RPMS/$arch /. &&
6869 ln $HOME /rpms/SRPMS/git-$V -* $G /RPMS/SRPMS/. &&
6970 {
7071 # I do not know how it exits, and I do not care much.
71- /usr/local/bin/yummy $G /RPMS/i386
72+ /usr/local/bin/yummy $G /RPMS/$arch
7273 /usr/local/bin/yummy $G /RPMS/SRPMS
7374 :
7475 } &&
You can’t perform that action at this time.
0 commit comments