[arch-commits] Commit in filesystem/trunk (PKGBUILD profile)

Pierre Schmitz pierre at archlinux.org
Mon Nov 22 18:28:57 UTC 2010


    Date: Monday, November 22, 2010 @ 13:28:57
  Author: pierre
Revision: 100322

Don't assume test supports multiple -a

See https://bugs.archlinux.org/task/21759

Modified:
  filesystem/trunk/PKGBUILD
  filesystem/trunk/profile

----------+
 PKGBUILD |    4 ++--
 profile  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-22 18:19:01 UTC (rev 100321)
+++ PKGBUILD	2010-11-22 18:28:57 UTC (rev 100322)
@@ -3,7 +3,7 @@
 
 pkgname=filesystem
 pkgver=2010.11
-pkgrel=1
+pkgrel=2
 pkgdesc='Base filesystem'
 arch=('any')
 license=('GPL')
@@ -32,7 +32,7 @@
          '6f48288b6fcaf0065fcb7b0e525413e0'
          '40dac0de4c6b99c8ca97effbd7527c84'
          '59768b5f4080b96b67bcde5f66984ad5'
-         '728153068ec64db9cae3ae72b0cb90bc'
+         'b55da6e033dc714c21aebdb569c7444d'
          '8098ffd9fbf890468d3198277596b85a')
 
 package() {

Modified: profile
===================================================================
--- profile	2010-11-22 18:19:01 UTC (rev 100321)
+++ profile	2010-11-22 18:28:57 UTC (rev 100322)
@@ -16,7 +16,7 @@
 fi
 
 # Source global bash config
-if test "$PS1" -a "$BASH" -a -r /etc/bash.bashrc; then
+if test "$PS1" && test "$BASH" && test -r /etc/bash.bashrc; then
 	. /etc/bash.bashrc
 fi
 




More information about the arch-commits mailing list