SPECS: builder - adjust indent

glen glen at pld-linux.org
Tue May 30 00:55:07 CEST 2006


Author: glen                         Date: Mon May 29 22:55:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- adjust indent

---- Files affected:
SPECS:
   builder (1.437 -> 1.438) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.437 SPECS/builder:1.438
--- SPECS/builder:1.437	Tue May 30 00:54:43 2006
+++ SPECS/builder	Tue May 30 00:55:02 2006
@@ -1028,56 +1028,56 @@
 		set -v;
 	fi
 
-		echo "Version: $PACKAGE_VERSION"
-		echo "Release: $PACKAGE_RELEASE"
+	echo "Version: $PACKAGE_VERSION"
+	echo "Release: $PACKAGE_RELEASE"
 
-		TAGVER=`make_tagver`
+	TAGVER=`make_tagver`
 
-		if [ "$TAG_VERSION" = "yes" ]; then
-			echo "CVS tag: $TAGVER"
-		fi
-		if [ -n "$TAG" ]; then
-			echo "CVS tag: $TAG"
-		fi
-
-		local OPTIONS="tag -F"
-		if [ -n "$CVSROOT" ]; then
-			OPTIONS="-d $CVSROOT $OPTIONS"
-		fi
-
-		cd "$SOURCE_DIR"
-		local tag_files
-		for i in $TAG_FILES; do
-			# don't tag files stored on distfiles
-			[ -n "`src_md5 $i`" ] && continue
-			local fp=`nourl "$i"`
-			if [ -f "$fp" ]; then
-				tag_files="$tag_files $fp"
-			else
-				Exit_error err_no_source_in_repo $i
-			fi
-		done
-
-		if [ "$tag_files" ]; then
-			if [ "$TAG_VERSION" = "yes" ]; then
-				update_shell_title "tag sources: $TAGVER"
-				cvs $OPTIONS $TAGVER $tag_files
-			fi
-			if [ -n "$TAG" ]; then
-				update_shell_title "tag sources: $TAG"
-				cvs $OPTIONS $TAG $tag_files
-			fi
+	if [ "$TAG_VERSION" = "yes" ]; then
+		echo "CVS tag: $TAGVER"
+	fi
+	if [ -n "$TAG" ]; then
+		echo "CVS tag: $TAG"
+	fi
+
+	local OPTIONS="tag -F"
+	if [ -n "$CVSROOT" ]; then
+		OPTIONS="-d $CVSROOT $OPTIONS"
+	fi
+
+	cd "$SOURCE_DIR"
+	local tag_files
+	for i in $TAG_FILES; do
+		# don't tag files stored on distfiles
+		[ -n "`src_md5 $i`" ] && continue
+		local fp=`nourl "$i"`
+		if [ -f "$fp" ]; then
+			tag_files="$tag_files $fp"
+		else
+			Exit_error err_no_source_in_repo $i
 		fi
+	done
 
-		cd "$SPECS_DIR"
+	if [ "$tag_files" ]; then
 		if [ "$TAG_VERSION" = "yes" ]; then
-			update_shell_title "tag spec: $TAGVER"
-			cvs $OPTIONS $TAGVER $SPECFILE
+			update_shell_title "tag sources: $TAGVER"
+			cvs $OPTIONS $TAGVER $tag_files
 		fi
 		if [ -n "$TAG" ]; then
-			update_shell_title "tag spec: $TAG"
-			cvs $OPTIONS $TAG $SPECFILE
+			update_shell_title "tag sources: $TAG"
+			cvs $OPTIONS $TAG $tag_files
 		fi
+	fi
+
+	cd "$SPECS_DIR"
+	if [ "$TAG_VERSION" = "yes" ]; then
+		update_shell_title "tag spec: $TAGVER"
+		cvs $OPTIONS $TAGVER $SPECFILE
+	fi
+	if [ -n "$TAG" ]; then
+		update_shell_title "tag spec: $TAG"
+		cvs $OPTIONS $TAG $SPECFILE
+	fi
 }
 
 branch_files()
================================================================

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



More information about the pld-cvs-commit mailing list