SPECS: builder - exit with error (inherited from cvs cmd) when tag...

glen glen at pld-linux.org
Mon Mar 5 10:45:59 CET 2007


Author: glen                         Date: Mon Mar  5 09:45:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- exit with error (inherited from cvs cmd) when tagging/branching fails

---- Files affected:
SPECS:
   builder (1.485 -> 1.486) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.485 SPECS/builder:1.486
--- SPECS/builder:1.485	Mon Mar  5 09:03:22 2007
+++ SPECS/builder	Mon Mar  5 10:45:54 2007
@@ -572,7 +572,6 @@
 			remove_build_requires
 			echo "Error: conditions reject building this spec (${2})."
 			exit 12 ;;
-
 	esac
 	echo "Unknown error."
 	exit 100
@@ -1120,22 +1119,22 @@
 	if [ "$tag_files" ]; then
 		if [ "$TAG_VERSION" = "yes" ]; then
 			update_shell_title "tag sources: $TAGVER"
-			cvs $OPTIONS $TAGVER $tag_files
+			cvs $OPTIONS $TAGVER $tag_files || exit
 		fi
 		if [ -n "$TAG" ]; then
 			update_shell_title "tag sources: $TAG"
-			cvs $OPTIONS $TAG $tag_files
+			cvs $OPTIONS $TAG $tag_files || exit
 		fi
 	fi
 
 	cd "$SPECS_DIR"
 	if [ "$TAG_VERSION" = "yes" ]; then
 		update_shell_title "tag spec: $TAGVER"
-		cvs $OPTIONS $TAGVER $SPECFILE
+		cvs $OPTIONS $TAGVER $SPECFILE || exit
 	fi
 	if [ -n "$TAG" ]; then
 		update_shell_title "tag spec: $TAG"
-		cvs $OPTIONS $TAG $SPECFILE
+		cvs $OPTIONS $TAG $SPECFILE || exit
 	fi
 }
 
@@ -1167,11 +1166,11 @@
 		fi
 	done
 	if [ "$tag_files" ]; then
-		cvs $OPTIONS $TAG $tag_files
+		cvs $OPTIONS $TAG $tag_files || exit
 	fi
 
 	cd "$SPECS_DIR"
-	cvs $OPTIONS $TAG $SPECFILE
+	cvs $OPTIONS $TAG $SPECFILE || exit
 }
 
 
================================================================

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



More information about the pld-cvs-commit mailing list