[packages/rpm-build-tools/merge-pld-builder-client: 120/2675] - add fix for autotag detection on ti-dev

glen glen at pld-linux.org
Mon Dec 19 21:59:00 CET 2016


commit 07e2045370cee7e49a3192446b534610cc264a9e
Author: shadzik <shadzik at pld-linux.org>
Date:   Wed Oct 6 15:13:50 2010 +0000

    - add fix for autotag detection on ti-dev
    
    Changed files:
        client/kde4send2builders.sh -> 1.38

 kde4send2builders.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/kde4send2builders.sh b/kde4send2builders.sh
index cd0e1f5..9c19694 100644
--- a/kde4send2builders.sh
+++ b/kde4send2builders.sh
@@ -133,11 +133,16 @@ specs=`for s in $specs; do
 	esac
 done`
 
+if [ "$DIST" == "ti-dev" ]; then
+       disttag="ti"
+else
+       disttag=$DIST
+fi
 
 if [ "$ATAG" == "yes" ]; then
 	for spec in $specs; do
 		PKG=$(echo $spec |sed -e 's/.spec//g')
-		LAST_AUTOTAG=$(cd $SPECDIR/packages && ./builder -g -ns $PKG/$spec >/dev/null 2>&1 && cvs status -v $PKG/$spec | awk -vdist=$DIST '!/Sticky/ && $1 ~ "^auto-" dist "-"{if (!a++) print $1}')
+		LAST_AUTOTAG=$(cd $SPECDIR/packages && ./builder -g -ns $PKG/$spec >/dev/null 2>&1 && cvs status -v $PKG/$spec | awk -vdist=$disttag '!/Sticky/ && $1 ~ "^auto-" dist "-"{if (!a++) print $1}')
 		sleep 1
 		SENDPRIO="$SENDPRIO $spec:$LAST_AUTOTAG "
 	done
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd



More information about the pld-cvs-commit mailing list