summaryrefslogtreecommitdiff
path: root/gnulib-tool
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib-tool')
-rwxr-xr-xgnulib-tool2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnulib-tool b/gnulib-tool
index 977587caa2..56b185a381 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -216,7 +216,7 @@ q
date=`echo "$date" | sed -e "$sed_year_before_time"`
# Use GNU date to compute the time in GMT.
date=`date -d "$date" -u +"%Y-%m-%d %H:%M:%S"`
- version=' '`"$gnulib_dir"/build-aux/git-version-gen /dev/null | sed -e 's/-dirty/-modified/'`
+ version=' '`cd "$gnulib_dir" && ./build-aux/git-version-gen /dev/null | sed -e 's/-dirty/-modified/'`
else
if test -d "$gnulib_dir"/CVS \
&& (cvs --version) >/dev/null 2>/dev/null; then