From 3f5dfa2978d4e506354a30bb89df23ccde848db1 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Tue, 29 Nov 2016 12:24:19 +0100 Subject: [PATCH] build-sys: fix bashism, introduced in 85004b14 Signed-off-by: Ruediger Meier --- tools/git-version-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/git-version-gen b/tools/git-version-gen index e7249f9a2f..b287cb7940 100755 --- a/tools/git-version-gen +++ b/tools/git-version-gen @@ -113,7 +113,7 @@ elif test "`git log -1 --pretty=format:x . 2>&1`" = x \ then # Remove the "g" in git describe's output string, to save a byte. - v=${v/-g/-} + v=`echo "$v" | sed 's/-g/-/'`; case $v in *-rc*) -- 2.47.3