From: Vincent Bernat Date: Wed, 5 Apr 2017 15:59:07 +0000 (+0200) Subject: build: fix get-version script when no git and no dist version X-Git-Tag: 0.9.8~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e1785facdd95351693dc826e6a836fc04e81523;p=thirdparty%2Flldpd.git build: fix get-version script when no git and no dist version --- diff --git a/get-version b/get-version index 19a2e3eb..e926d88b 100755 --- a/get-version +++ b/get-version @@ -40,7 +40,7 @@ elif [ -e .git ]; then version="$version-dirty" fi else - date +%F + version=$(date +%F) fi # Use printf to avoid the trailing new line that m4_esyscmd would not handle.