[arch-commits] Commit in gcc4.6/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Jun 8 00:48:12 UTC 2012


    Date: Thursday, June 7, 2012 @ 20:48:12
  Author: heftig
Revision: 161076

cosmetics

Modified:
  gcc4.6/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-06-08 00:44:05 UTC (rev 161075)
+++ PKGBUILD	2012-06-08 00:48:12 UTC (rev 161076)
@@ -41,7 +41,8 @@
   echo ${pkgver} > gcc/BASE-VER
 
   cd ..
-  mkdir gcc-build && cd gcc-build
+  mkdir gcc-build
+  cd gcc-build
 
   ../gcc-$pkgver/configure --prefix=/usr \
       --libdir=/usr/lib --libexecdir=/usr/lib \
@@ -64,15 +65,13 @@
 }
 
 check() {
-  cd gcc-build
-
   # increase stack size to prevent test failures
   # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
   ulimit -s 32768
 
   # do not abort on error as some are "expected"
-  make -k check || true
-  ../gcc-$pkgver/contrib/test_summary
+  make -C gcc-build -k check || true
+  gcc-$pkgver/contrib/test_summary
 }
 
 package()




More information about the arch-commits mailing list