SPECS: builder - stop when ./pldnotify.awk doesn't exist for -u

glen glen at pld-linux.org
Sat Oct 15 14:28:56 CEST 2005


Author: glen                         Date: Sat Oct 15 12:28:56 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- stop when ./pldnotify.awk doesn't exist for -u

---- Files affected:
SPECS:
   builder (1.336 -> 1.337) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.336 SPECS/builder:1.337
--- SPECS/builder:1.336	Sun Oct  9 22:17:01 2005
+++ SPECS/builder	Sat Oct 15 14:28:51 2005
@@ -898,9 +898,9 @@
 
 	if [ -n "$TRY_UPGRADE" ]; then
 		if [ -n "$FLOAT_VERSION" ]; then
-			TNOTIFY=`./pldnotify.awk $SPECFILE -n`
+			TNOTIFY=`./pldnotify.awk $SPECFILE -n` || exit 1
 		else
-			TNOTIFY=`./pldnotify.awk $SPECFILE`
+			TNOTIFY=`./pldnotify.awk $SPECFILE` || exit 1
 		fi
 
 		TNEWVER=`echo $TNOTIFY | awk '{ match($4,/\[NEW\]/); print $5 }'`
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.336&r2=1.337&f=u




More information about the pld-cvs-commit mailing list