From 581e908793f005af752f0b5a0ba8fc9448876701 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 7 Apr 2009 20:13:55 +0200 Subject: [PATCH] xbps-src: fix 'build-pkg all' with pkgs with $revision set. --HG-- extra : convert_revision : 866ef758ef96722676e575acebee1fe3be8a9df1 --- bin/xbps-src/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-src/main.sh b/bin/xbps-src/main.sh index 80159484d16..d123d3010dd 100755 --- a/bin/xbps-src/main.sh +++ b/bin/xbps-src/main.sh @@ -221,7 +221,7 @@ build-pkg) if [ "$2" = "all" ]; then for f in $($XBPS_BIN_CMD list|awk '{print $1}'); do version=$($XBPS_REGPKGDB_CMD version $f) - if [ ! -d $XBPS_DESTDIR/$f-$version ]; then + if [ ! -d $XBPS_DESTDIR/$f-${version%_[0-9]*} ]; then echo -n "Ignoring $f-$version, no destination " echo "directory!" continue