summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-24 23:47:54 +0100
committeralbator <albator@arcadia.vtf>2011-11-24 23:47:54 +0100
commitb90c8995428a95728d62ad0f1b477d2486654212 (patch)
tree9e62286a0ef81ba01d2d140cf39becc3c8ba23ec /redhat/genrpm.sh
parent4d26b3bc3984739d812f22d751e3089de35293a0 (diff)
downloadtde-packaging-b90c8995428a95728d62ad0f1b477d2486654212.tar.gz
tde-packaging-b90c8995428a95728d62ad0f1b477d2486654212.zip
RHEL/Fedora: TDE fixes, add applications, etc ....
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-xredhat/genrpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index b575f93cb..c16c7ab1f 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -94,7 +94,7 @@ case "${COMP##*/}" in
esac
# Determines if we are running an i386 or x86_64 distro
-if [ "$(rpm -q --qf '%{arch}' kernel)" = "i686" ]; then
+if [ "$(rpm -q --qf '%{arch}\n' kernel | tail -n 1)" = "i686" ]; then
ARGS="${ARGS} --target=i686"
fi