From: Aaron Schrab Date: Tue, 22 Oct 2013 20:12:31 +0000 (-0500) Subject: version.sh: step back from $() to ``. closes #3661 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e1f4995cec9dbaccf2a07f524c512b238a51a30;p=mutt version.sh: step back from $() to ``. closes #3661 (grafted from 01cf5814dfe5e79b65b1d950aab1276d19a9f031) --- diff --git a/version.sh b/version.sh index ba8463be..d7988df7 100644 --- a/version.sh +++ b/version.sh @@ -5,7 +5,7 @@ HG=hg # Switch to directory where this script lives so that further commands are run # from the root directory of the source. The script path and srcdir are double # quoted to allow the space character to appear in the path. -srcdir=$(dirname "$0") && cd "$srcdir" || exit 1 +srcdir=`dirname "$0"` && cd "$srcdir" || exit 1 # Ensure that we have a repo here and that mercurial is installed. If # not, just cat the VERSION file; it contains the latest release number.