summaryrefslogtreecommitdiffstats
path: root/scripts/buildinstall
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-09-26 18:17:19 +0000
committerJeremy Katz <katzj@redhat.com>2007-09-26 18:17:19 +0000
commit5284b2b13cacfcfd6afdf3280513739c334d557a (patch)
tree89c32ba6608ff4593f4e35893212d0e57b8c0b98 /scripts/buildinstall
parent2c7e28f8341c47e9805082a5d295c89e8b1222ca (diff)
downloadanaconda-5284b2b13cacfcfd6afdf3280513739c334d557a.tar.gz
anaconda-5284b2b13cacfcfd6afdf3280513739c334d557a.tar.xz
anaconda-5284b2b13cacfcfd6afdf3280513739c334d557a.zip
2007-09-26 Jeremy Katz <katzj@redhat.com>
* scripts/buildinstall (BUILDARCH): Make more predictable (#239897)
Diffstat (limited to 'scripts/buildinstall')
-rwxr-xr-xscripts/buildinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildinstall b/scripts/buildinstall
index cada65247..95951ce97 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -99,7 +99,7 @@ if [ -z "$BUILDINSTDIR" ]; then
fi
TREEDIR=${TMPDIR:-/tmp}/treedir.$$
-BUILDARCH=`rpm -qp --qf "%{ARCH}" $PKGDIR/anaconda-runtime-[0-9]*`
+BUILDARCH=`rpm -qp --qf "%{ARCH}\n" $PKGDIR/anaconda-runtime-[0-9]* |head -n 1`
echo "Running buildinstall..."