]> granicus.if.org Git - neomutt/commitdiff
version.sh: step back from $() to ``. closes #3661
authorAaron Schrab <aaron@schrab.com>
Tue, 22 Oct 2013 20:12:31 +0000 (15:12 -0500)
committerAaron Schrab <aaron@schrab.com>
Tue, 22 Oct 2013 20:12:31 +0000 (15:12 -0500)
version.sh

index ba8463be17b10a7a21ea9cb343a031aebcf86b1d..d7988df7220b679a37f8cca52fc5430be57eec3d 100644 (file)
@@ -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.