diff options
author | Pavol Rusnak <stick@gk2.sk> | 2009-12-05 01:05:36 +0100 |
---|---|---|
committer | Pavol Rusnak <stick@gk2.sk> | 2009-12-05 01:05:36 +0100 |
commit | e7cba6bfd6ad18abb193c29243e79f25cd7f97b4 (patch) | |
tree | aae1cd754a28956ac7d451cb357df20e4f8e58ba /common_functions | |
parent | be95775fa97b235fa42bdbb0aae5e1778b623e39 (diff) | |
download | build-e7cba6bfd6ad18abb193c29243e79f25cd7f97b4.tar.gz build-e7cba6bfd6ad18abb193c29243e79f25cd7f97b4.tar.bz2 build-e7cba6bfd6ad18abb193c29243e79f25cd7f97b4.zip |
fix whitespace
Diffstat (limited to 'common_functions')
-rw-r--r-- | common_functions | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/common_functions b/common_functions index 41584db..cea3aa0 100644 --- a/common_functions +++ b/common_functions @@ -5,8 +5,8 @@ set_build_arch() : ${BUILD_HOST_ARCH:=`uname -m`} if [ -z "$BUILD_ARCH" ]; then - BUILD_ARCH="$BUILD_HOST_ARCH" - test i686 != "$BUILD_ARCH" || BUILD_ARCH=i586 # XXX: why? + BUILD_ARCH="$BUILD_HOST_ARCH" + test i686 != "$BUILD_ARCH" || BUILD_ARCH=i586 # XXX: why? fi case $BUILD_ARCH in @@ -16,13 +16,11 @@ set_build_arch() x86_64) BUILD_ARCH="x86_64:i686:i586:i486:i386" ;; esac if test "$BUILD_ARCH" != "${BUILD_ARCH#i686}" ; then - cpuflags=`grep ^flags /proc/cpuinfo` - cpuflags="$cpuflags " - test "$cpuflags" = "${cpuflags/ cx8 /}" -o "$cpuflags" = "${cpuflags/ cmov /}" && { - echo "Your cpu doesn't support i686 rpms. Exit." - exit 1 - } + cpuflags=`grep ^flags /proc/cpuinfo` + cpuflags="$cpuflags " + test "$cpuflags" = "${cpuflags/ cx8 /}" -o "$cpuflags" = "${cpuflags/ cmov /}" && { + echo "Your cpu doesn't support i686 rpms. Exit." + exit 1 + } fi } - -# vim:sw=4 |