From: Ruediger Meier Date: Tue, 29 Nov 2016 11:24:19 +0000 (+0100) Subject: build-sys: fix bashism, introduced in 85004b14 X-Git-Tag: v2.30-rc1~395^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f5dfa2978d4e506354a30bb89df23ccde848db1;p=thirdparty%2Futil-linux.git build-sys: fix bashism, introduced in 85004b14 Signed-off-by: Ruediger Meier --- 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*)