git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8644db5
)
packaging(RHEL-CTDB): check for success of x86_64 build before building i386
author
Michael Adam
<obnox@samba.org>
Tue, 12 Aug 2008 21:46:50 +0000
(23:46 +0200)
committer
Michael Adam
<obnox@samba.org>
Wed, 13 Aug 2008 09:54:14 +0000
(11:54 +0200)
Michael
(This used to be commit
3102582f0232359069577174b2faea37e5489014
)
packaging/RHEL-CTDB/makerpms.sh
patch
|
blob
|
history
diff --git
a/packaging/RHEL-CTDB/makerpms.sh
b/packaging/RHEL-CTDB/makerpms.sh
index 6b407e0ebd8607141be090954cf73fc78a881916..8a0345bbeb8b983f371f94ad00739bb815b46ee2 100755
(executable)
--- a/
packaging/RHEL-CTDB/makerpms.sh
+++ b/
packaging/RHEL-CTDB/makerpms.sh
@@
-77,13
+77,13
@@
popd
echo "$(basename $0): Getting Ready to build release package"
pushd ${SPECDIR}
${RPM} -ba $EXTRA_OPTIONS $SPECFILE
-[ `arch` = "x86_64" ] && {
+if [ "x$?" = "x0" ] && [ `arch` = "x86_64" ]; then
echo "Building 32 bit winbind libs"
# hi ho, a hacking we will go ...
ln -sf /lib/libcom_err.so.2 /lib/libcom_err.so
ln -sf /lib/libuuid.so.1 /lib/libuuid.so
${RPM} -ba --rebuild --target=i386 $SPECFILE
-}
+fi
popd