summaryrefslogtreecommitdiff
path: root/build_tools/make_version
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-09-07 09:13:40 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-09-07 09:13:40 -0500
commit89f7cd8182478e4f6654f801ae29460348588097 (patch)
treef051f6b40141d046069bc21b38d8a5a12e412180 /build_tools/make_version
parent6d56b87642ad8415e8eb67631b98c9de048a38a9 (diff)
parent117a7741c856886c52ce014e3034993cc02f0358 (diff)
Merge "build: Add download capability for external packages" into 13
Diffstat (limited to 'build_tools/make_version')
-rwxr-xr-xbuild_tools/make_version4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_tools/make_version b/build_tools/make_version
index 99d5dee16..a89d273d2 100755
--- a/build_tools/make_version
+++ b/build_tools/make_version
@@ -89,11 +89,13 @@ elif [ -d ${1}/.git ]; then
if [ -z ${GIT} ]; then
GIT="git"
fi
-
+
if ! command -v ${GIT} >/dev/null 2>&1; then
echo "UNKNOWN__and_probably_unsupported"
exit 1
fi
+ cd ${1}
+
# If the first log commit messages indicates that this is checked into
# subversion, we'll just use the SVN- form of the revision.
MODIFIED=""