projects
/
bugscan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac9f96
)
Use stat instead of ls for finding times.
author
Steinar H. Gunderson
<sesse@rietz>
Sat, 10 Mar 2007 15:13:26 +0000
(15:13 +0000)
committer
Steinar H. Gunderson
<sesse@rietz>
Sat, 10 Mar 2007 15:13:26 +0000
(15:13 +0000)
dostatus
patch
|
blob
|
history
makepost
patch
|
blob
|
history
diff --git
a/dostatus
b/dostatus
index 13c2cf1042a7a00f048eb6b8194bced1caa6ec99..563e2b5455cdad9bad2d7460d76cf76592e8f04c 100755
(executable)
--- a/
dostatus
+++ b/
dostatus
@@
-1,6
+1,6
@@
#!/bin/sh
-newtime=`
ls -al status | cut -c 43-54
`
+newtime=`
stat --format %y status | cut -d: -f-2
`
echo -n "$newtime (CST): " > /home/sesse/bugscan/www/status
./bugreport -s >> /home/sesse/bugscan/www/status
diff --git
a/makepost
b/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