PLD-doc: notify-specsupdate.sh - setup for first run

glen glen at pld-linux.org
Tue Nov 24 15:36:57 CET 2009


Author: glen                         Date: Tue Nov 24 14:36:57 2009 GMT
Module: PLD-doc                       Tag: HEAD
---- Log message:
- setup for first run

---- Files affected:
PLD-doc:
   notify-specsupdate.sh (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: PLD-doc/notify-specsupdate.sh
diff -u PLD-doc/notify-specsupdate.sh:1.4 PLD-doc/notify-specsupdate.sh:1.5
--- PLD-doc/notify-specsupdate.sh:1.4	Tue Nov 24 15:34:46 2009
+++ PLD-doc/notify-specsupdate.sh	Tue Nov 24 15:36:52 2009
@@ -17,6 +17,12 @@
 
 buf=$(cvs status -v $file)
 status=$(echo "$buf" | sed -rne 's/.+Status: (.+)$/\1/p')
+if [ "$status" = "Needs Checkout" ]; then
+	cvs -Q up $file
+	# No new changes
+	exit 0
+fi
+
 if [ "$status" != "Needs Patch" ]; then
 	# No new changes
 	exit 0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/PLD-doc/notify-specsupdate.sh?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list