]> git.donarmstrong.com Git - bugscan.git/blobdiff - makepost
Check that a package is really present in a distribution before putting
[bugscan.git] / makepost
index d749a039fe4a226b7ac06b96085e3c7f625bcbae..0affebfc230f444ddf6e59ba3fee26b106a847a3 100755 (executable)
--- a/makepost
+++ b/makepost
@@ -1,7 +1,7 @@
 #! /bin/sh
 
-newtime=`ls -alL pstatus | cut -c 44-55`
-oldtime=`ls -alL pstatus-old | cut -c 44-55`
+newtime=`stat --format %y pstatus | cut -d: -f-2`
+oldtime=`stat --format %y pstatus-old | cut -d: -f-2`
 title="Bug stamp-out list for $newtime (CST)"
 cat <<EOF
 $title