git ssb

0+

cel / sslh



Commit 8c3362e9ceb1d699f5944e66fde5c562dc5e0215

Use portable way of getting modified time

Aaron Madlon-Kay committed on 11/22/2014, 2:46:50 PM
Parent: 9a0a9b9492186cf9e3ff02c39223ca2c8a3b8ae8

Files changed

genver.shchanged
genver.shView
@@ -20,9 +20,9 @@
2020 # If downloaded from the head, Github creates the
2121 # zip file with all files dated from the last
2222 # change: use the Makefile's modification time as a
2323 # release number
24- release=head-`stat -c "%y" Makefile | sed 's/ .*//'`
24+ release=head-`perl -MPOSIX -e 'print strftime "%Y-%m-%d",localtime((stat "Makefile")[9])'`
2525 fi
2626 fi
2727
2828 if head=`git rev-parse --verify HEAD 2>/dev/null`; then

Built with git-ssb-web