From ab47dea8053bb1087008dbeec1919a6c5f68863a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 27 Mar 2015 12:55:18 -0400 Subject: Fix bug introduced in the last release that broke git-annex sync when git-annex was installed from the standalone tarball. This was introduced by commit 849a4b1a0d71071a602f552125fd7e25689662db However, the same problem could affect other calls to programPath, specifically some on the assistant. So, I fixed it at a deeper level. --- standalone/linux/skel/git-annex | 3 +++ 1 file changed, 3 insertions(+) (limited to 'standalone') diff --git a/standalone/linux/skel/git-annex b/standalone/linux/skel/git-annex index 7fc864d87..8b59be23c 100755 --- a/standalone/linux/skel/git-annex +++ b/standalone/linux/skel/git-annex @@ -28,4 +28,7 @@ if [ -e "$base/bin/git-annex" ]; then export GIT_ANNEX_APP_BASE fi +GIT_ANNEX_PROGRAMPATH="$0" +export GIT_ANNEX_PROGRAMPATH + exec "$base/runshell" git-annex "$@" -- cgit v1.2.3