pld-builder.new: client/kde4send2builders.sh - add fix for autotag detectio...

shadzik shadzik at pld-linux.org
Wed Oct 6 17:13:55 CEST 2010


Author: shadzik                      Date: Wed Oct  6 15:13:55 2010 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- add fix for autotag detection on ti-dev

---- Files affected:
pld-builder.new/client:
   kde4send2builders.sh (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: pld-builder.new/client/kde4send2builders.sh
diff -u pld-builder.new/client/kde4send2builders.sh:1.37 pld-builder.new/client/kde4send2builders.sh:1.38
--- pld-builder.new/client/kde4send2builders.sh:1.37	Wed Oct  6 15:40:45 2010
+++ pld-builder.new/client/kde4send2builders.sh	Wed Oct  6 17:13:50 2010
@@ -133,11 +133,16 @@
 	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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/client/kde4send2builders.sh?r1=1.37&r2=1.38&f=u



More information about the pld-cvs-commit mailing list