From 33bb7408f684bf0d4eff0a0e99c53449fa4923e4 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 10 Jul 2012 13:46:17 +0100 Subject: podwrapper: Fix shell script. This fixes commit f9a5e3ed86ee7bcd13619f13b4d4de6ce46ac8c3. --- podwrapper.sh.in | 4 ++-- 1 file 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 -- cgit