diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ipkg-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ipkg-build b/scripts/ipkg-build index 2d410767f3..cd70c1fbba 100755 --- a/scripts/ipkg-build +++ b/scripts/ipkg-build @@ -19,7 +19,7 @@ export GZIP="-n" # look up date of last commit if [ -d "$TOPDIR/.git" ]; then - TIMESTAMP=$($GIT log -1 -s --format=%ci) + TIMESTAMP=$(cd $TOPDIR; $GIT log -1 -s --format=%ci) elif [ -d "$TOPDIR/.svn" ]; then TIMESTAMP=$($SVN info "$TOPDIR" | sed -n "s/^Last Changed Date: \(.*\)/\1/p") else |