From e7cba6bfd6ad18abb193c29243e79f25cd7f97b4 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Sat, 5 Dec 2009 01:05:36 +0100 Subject: fix whitespace --- common_functions | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'common_functions') 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 -- cgit v1.2.3