From 82de2fdb249acccbc910237bbee350ec664cc142 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 16 May 2014 16:22:50 -0400 Subject: Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH. Unless busybox doesn't support readlink -f, then it just uses readlink and symlinking won't work. Also, OSX has no readlink -f so not done there. Thanks, jlebar. --- standalone/linux/skel/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'standalone/linux/skel/git') diff --git a/standalone/linux/skel/git b/standalone/linux/skel/git index f32cf8193..7fbf82715 100755 --- a/standalone/linux/skel/git +++ b/standalone/linux/skel/git @@ -1,5 +1,5 @@ #!/bin/sh -link="$(readlink "$0")" || true +link="$(readlink -f "$0" 2>/dev/null || readlink "$0")" || true if [ -n "$link" ]; then base="$(dirname "$link")" else -- cgit v1.2.3