diff package @ 29:311e52c62f06

more cleanup from Arne, document 7c block format
author carl
date Sat, 25 Feb 2006 16:11:04 -0800
parents 51d826f31329
children b88ceb81dba2
line wrap: on
line diff
--- a/package	Sat Feb 25 16:03:45 2006 -0800
+++ b/package	Sat Feb 25 16:11:04 2006 -0800
@@ -21,6 +21,8 @@
     hexdump -C -v $pst >pst.dump
     chown --recursive carl:carl *
     exit
+else
+    rm -f pst2ldif.log my.log ams.ldif pst.dump
 fi
 make distcheck >$distlog 2>&1
 
@@ -64,16 +66,17 @@
 
 if [ -f /usr/local/bin/pst2ldif ]; then
     pushd /home/ldap
-    pst=outlook.pst
-    #rm -f pst2ldif.log my.log
-    /usr/local/bin/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif2
-    #./readpstlog pst2ldif.log | less >my.log
-    #hexdump -C $pst >pst.dump
+        pst=outlook.pst
+        #rm -f pst2ldif.log my.log
+        /usr/local/bin/pst2ldif -b 'o=ams-cc.com, c=US' -c 'newPerson' $pst >ams.ldif2
+        #./readpstlog pst2ldif.log | less >my.log
+        #hexdump -C $pst >pst.dump
 
-    grep '^dn:' ams.ldif2 | sort >aaa
-    grep '^dn:' ams.ldif  | sort >bbb
-    echo 'differences from nightly ldap'
-    diff aaa bbb
-    echo 'end differences'
-    rm -f aaa bbb
+        grep '^dn:' ams.ldif2 | sort >aaa
+        grep '^dn:' ams.ldif  | sort >bbb
+        echo 'differences from nightly ldap'
+        diff aaa bbb
+        echo 'end differences'
+        rm -f aaa bbb
+    popd
 fi