diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-10 13:46:17 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-10 13:46:17 +0100 |
commit | 33bb7408f684bf0d4eff0a0e99c53449fa4923e4 (patch) | |
tree | e4ae92cc5f601f7ec89e8ef3cdae0a3e85ae7e08 | |
parent | f9a5e3ed86ee7bcd13619f13b4d4de6ce46ac8c3 (diff) | |
download | libguestfs-33bb7408f684bf0d4eff0a0e99c53449fa4923e4.tar.gz libguestfs-33bb7408f684bf0d4eff0a0e99c53449fa4923e4.tar.xz libguestfs-33bb7408f684bf0d4eff0a0e99c53449fa4923e4.zip |
podwrapper: Fix shell script.
This fixes commit f9a5e3ed86ee7bcd13619f13b4d4de6ce46ac8c3.
-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 |