summaryrefslogtreecommitdiff
path: root/wrap-for-bin.sh
diff options
context:
space:
mode:
authorDuy Nguyen <pclouds@gmail.com>2016-05-10 11:58:56 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-10 20:23:34 (GMT)
commit2ec075d9035cecef392573d161577395cabc3fd8 (patch)
tree62369d92243331379f66f92f099899caeefa1db2 /wrap-for-bin.sh
parente6e7530d10b74d763b4311ea93e0a831b810d6c2 (diff)
downloadgit-2ec075d9035cecef392573d161577395cabc3fd8.zip
git-2ec075d9035cecef392573d161577395cabc3fd8.tar.gz
git-2ec075d9035cecef392573d161577395cabc3fd8.tar.bz2
wrap-for-bin.sh: regenerate bin-wrappers when switching branches
Commit e6e7530 (test helpers: move test-* to t/helper/ subdirectory - 2016-04-13) moves test-* to t/helper. However because bin-wrappers/* only depend on wrap-for-bin.sh, when switching between a branch that has this commit and one that does not, bin-wrappers/* may not be regenerated and point to the old/outdated test programs. This commit makes a non-functional change in wrap-for-bin.sh, just enough for 'make' to detect and re-execute wrap-for-bin.sh. When switching between a branch containing both this commit and e6e7530 and one containing neither, bin-wrappers/*, we should get fresh bin-wrappers/*. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrap-for-bin.sh')
-rw-r--r--wrap-for-bin.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrap-for-bin.sh b/wrap-for-bin.sh
index db0ec6a..22b6e49 100644
--- a/wrap-for-bin.sh
+++ b/wrap-for-bin.sh
@@ -17,6 +17,7 @@ fi
GITPERLLIB='@@BUILD_DIR@@/perl/blib/lib'"${GITPERLLIB:+:$GITPERLLIB}"
GIT_TEXTDOMAINDIR='@@BUILD_DIR@@/po/build/locale'
PATH='@@BUILD_DIR@@/bin-wrappers:'"$PATH"
+
export GIT_EXEC_PATH GITPERLLIB PATH GIT_TEXTDOMAINDIR
if test -n "$GIT_TEST_GDB"