From: Mike Gelfand Date: Sat, 14 Jan 2017 22:02:45 +0000 (+0300) Subject: Fix "./update-version-h.sh: Bad substitution" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f51cf7e215c01362299c93b8dfade5e74677e14;p=transmission Fix "./update-version-h.sh: Bad substitution" --- diff --git a/update-version-h.sh b/update-version-h.sh index 80c06a4f6..18169980b 100755 --- a/update-version-h.sh +++ b/update-version-h.sh @@ -42,7 +42,7 @@ else rm -f "$vcs_revision_file" fi -vcs_revision=${vcs_revision:0:10} +vcs_revision=`echo $vcs_revision | head -c10` cat > libtransmission/version.h.new << EOF #pragma once