diff options
author | albator <albator@arcadia.vtf> | 2011-11-24 23:47:54 +0100 |
---|---|---|
committer | albator <albator@arcadia.vtf> | 2011-11-24 23:47:54 +0100 |
commit | b90c8995428a95728d62ad0f1b477d2486654212 (patch) | |
tree | 9e62286a0ef81ba01d2d140cf39becc3c8ba23ec /redhat/genrpm.sh | |
parent | 4d26b3bc3984739d812f22d751e3089de35293a0 (diff) | |
download | tde-packaging-b90c8995428a95728d62ad0f1b477d2486654212.tar.gz tde-packaging-b90c8995428a95728d62ad0f1b477d2486654212.zip |
RHEL/Fedora: TDE fixes, add applications, etc ....
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-x | redhat/genrpm.sh | 2 |
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 |