diff options
-rwxr-xr-x | podwrapper.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/podwrapper.sh.in b/podwrapper.sh.in index 9198f631..c30df520 100755 --- a/podwrapper.sh.in +++ b/podwrapper.sh.in @@ -56,9 +56,9 @@ fi if [ -e $abs_top_srcdir/ChangeLog ]; then DATEPARAM=`awk '/^[0-9]+-[0-9]+-[0-9]+/ { print "--date=" $1; exit }' \ $abs_top_srcdir/ChangeLog` -else if [ -d $abs_top_srcdir/.git ]; then +elif [ -d $abs_top_srcdir/.git ]; then DATEPARAM=`git show -s --format=%ci | awk '{print "--date=" $1}'` -else +fi declare -a inserts declare -a pattern |