[freenet-cvs] r16227 - trunk/scripts

nextgens at freenetproject.org nextgens at freenetproject.org
Mon Dec 3 17:46:49 UTC 2007


Author: nextgens
Date: 2007-12-03 17:46:49 +0000 (Mon, 03 Dec 2007)
New Revision: 16227

Modified:
   trunk/scripts/verify_indent.sh
   trunk/scripts/verify_indent_client.sh
Log:
scripts: verify_indent.sh display the hash of all files, not only the last one

Modified: trunk/scripts/verify_indent.sh
===================================================================
--- trunk/scripts/verify_indent.sh	2007-12-03 17:36:45 UTC (rev 16226)
+++ trunk/scripts/verify_indent.sh	2007-12-03 17:46:49 UTC (rev 16227)
@@ -42,12 +42,12 @@
 		then
 			for hash in $(find orig -type f -name \*class|sort)
 			do
-				sha1sum "$hash" |awk '{print $2 " : " $1;}' > ../ok
+				sha1sum "$hash" |awk '{print $2 " : " $1;}' >> ../ok
 			done
 		else
 			for hash in $(find orig -type f -name \*class|sort)
 			do
-				echo $hash : $(sha1sum "$hash"|awk '{print $1;}') : $(sha1sum "${hash/orig/new}"|awk '{print $1;}') > ../nok
+				echo $hash : $(sha1sum "$hash"|awk '{print $1;}') : $(sha1sum "${hash/orig/new}"|awk '{print $1;}') >> ../nok
 			done
 		fi
 		cd ..

Modified: trunk/scripts/verify_indent_client.sh
===================================================================
--- trunk/scripts/verify_indent_client.sh	2007-12-03 17:36:45 UTC (rev 16226)
+++ trunk/scripts/verify_indent_client.sh	2007-12-03 17:46:49 UTC (rev 16227)
@@ -58,12 +58,12 @@
 	then
 		for hash in $(find orig -type f -name \*class|sort)
 		do
-			sha1sum "$hash" |awk '{print $2 " : " $1;}' > ../ok
+			sha1sum "$hash" |awk '{print $2 " : " $1;}' >> ../ok
 		done
 	else
 		for hash in $(find orig -type f -name \*class|sort)
 		do
-			echo $hash : $(sha1sum "$hash"|awk '{print $1;}') : $(sha1sum "${hash/orig/new}"|awk '{print $1;}') > ../nok
+			echo $hash : $(sha1sum "$hash"|awk '{print $1;}') : $(sha1sum "${hash/orig/new}"|awk '{print $1;}') >> ../nok
 		done
 	fi
 	cd ..




More information about the cvs mailing list