From 6376db2df16729958f65aad032294d72ee9390f1 Mon Sep 17 00:00:00 2001 From: Slava Zanko Date: Thu, 2 Dec 2010 11:22:09 +0200 Subject: [PATCH] maint/version.sh: removed bashizms. Signed-off-by: Slava Zanko --- maint/version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maint/version.sh b/maint/version.sh index 291e569f5..3b046dab7 100755 --- a/maint/version.sh +++ b/maint/version.sh @@ -33,13 +33,13 @@ EOF exit } -git_head=$(git --git-dir "${src_top_dir}/.git" rev-parse --verify HEAD 2>/dev/null) +git_head=`git --git-dir "${src_top_dir}/.git" rev-parse --verify HEAD 2>/dev/null` [ -z "${git_head}" ] && mc_print_version # try to store sha1 CURR_MC_VERSION="${git_head}" -new_version="$(git --git-dir "${src_top_dir}/.git" describe 2>/dev/null)" +new_version=`git --git-dir "${src_top_dir}/.git" describe 2>/dev/null` [ -z "${new_version}" ] && mc_print_version # store pretty tagged version -- 2.11.4.GIT