projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c54ae
)
fix for set -e
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 10 Dec 2009 15:41:33 +0000
(16:41 +0100)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 10 Dec 2009 15:55:47 +0000
(16:55 +0100)
common_functions
patch
|
blob
|
history
diff --git
a/common_functions
b/common_functions
index
6f0fe9c
..
8a67511
100644
(file)
--- a/
common_functions
+++ b/
common_functions
@@
-18,9
+18,9
@@
set_build_arch()
if test "$BUILD_ARCH" != "${BUILD_ARCH#i686}" ; then
cpuflags=`grep ^flags /proc/cpuinfo`
cpuflags="$cpuflags "
- test "$cpuflags" = "${cpuflags/ cx8 /}" -o "$cpuflags" = "${cpuflags/ cmov /}" && {
+ if test "$cpuflags" = "${cpuflags/ cx8 /}" -o "$cpuflags" = "${cpuflags/ cmov /}"; then
echo "Your cpu doesn't support i686 rpms. Exit."
- exit 1
- }
+
cleanup_and_
exit 1
+ fi
fi
}