From 38ae733f4f525bb5cfaddc04c9b250551dca93e5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Dec 2012 12:27:32 -0400 Subject: furnish git with an (empty) template directory in standalone builds This will stop git-init complaining about missing template directory. --- standalone/linux/runshell | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'standalone/linux') diff --git a/standalone/linux/runshell b/standalone/linux/runshell index e3d75d7a0..a1c93792d 100755 --- a/standalone/linux/runshell +++ b/standalone/linux/runshell @@ -58,8 +58,13 @@ export ORIG_GIT_EXEC_PATH GIT_EXEC_PATH=$base/git-core export GIT_EXEC_PATH +ORIG_GIT_TEMPLATE_DIR="$GIT_TEMPLATE_DIR" +export ORIG_GIT_TEMPLATE_DIR +GIT_TEMPLATE_DIR="$base/templates" +export GIT_TEMPLATE_DIR + # Indicate which variables were exported above. -GIT_ANNEX_STANDLONE_ENV="PATH LD_LIBRARY_PATH GIT_EXEC_PATH" +GIT_ANNEX_STANDLONE_ENV="PATH LD_LIBRARY_PATH GIT_EXEC_PATH GIT_TEMPLATE_DIR" export GIT_ANNEX_STANDLONE_ENV if [ "$1" ]; then -- cgit v1.2.3