From 8f51cf7e215c01362299c93b8dfade5e74677e14 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Sun, 15 Jan 2017 01:02:45 +0300 Subject: [PATCH] Fix "./update-version-h.sh: Bad substitution" --- update-version-h.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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