Remove bogus runshell loop check.

git-annex.linux/git-annex can legitimately try to run itself -- this
happens when the programfile is used. So this check was bogus.
This commit is contained in:
Joey Hess 2013-10-11 01:24:04 -04:00
parent b988e2fd9f
commit 2943592f51
3 changed files with 1 additions and 6 deletions

View file

@ -19,9 +19,6 @@ if [ ! -e "$base/bin/git" ]; then
echo "** base directory $base does not contain bin/git" >&2
exit 1
fi
if [ -n "$GIT_ANNEX_STANDLONE_ENV" ]; then
echo "** runshell loop detected!" >&2
fi
# Get absolute path to base, to avoid breakage when things change directories.
orig="$(pwd)"