scaffold: properly indent repeated find command
authorErez Zadok <ezk@cs.sunysb.edu>
Sat, 13 Oct 2007 20:01:19 +0000 (16:01 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Sat, 13 Oct 2007 20:01:19 +0000 (16:01 -0400)
scaffold

index c5fc11a35a6511fd716551450314008096b185e6..eb4b531ec510a22e1d6c07f108eee5adfb4d8018 100644 (file)
--- a/scaffold
+++ b/scaffold
@@ -174,7 +174,13 @@ function uncramit {
 }
 
 function check_hierarchy {
-        ( find $1 -type d -printf 'd %p\n' ; find $1 -type f -printf 'f %p\n' ; find $1 -type b -printf 'b %p\n' ; find $1 -type c -printf 'c %p\n' ; find $1 -type l -printf 'l %p\n') | sort > /tmp/check-$$
+        (
+           find $1 -type d -printf 'd %p\n'
+           find $1 -type f -printf 'f %p\n'
+           find $1 -type b -printf 'b %p\n'
+           find $1 -type c -printf 'c %p\n'
+           find $1 -type l -printf 'l %p\n'
+       ) | sort > /tmp/check-$$
         grep -v '^$' | sort | diff -u - /tmp/check-$$
         ERR=$?
         rm -f /tmp/check-$$