From 2e1785facdd95351693dc826e6a836fc04e81523 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 5 Apr 2017 17:59:07 +0200 Subject: [PATCH] build: fix get-version script when no git and no dist version --- get-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5