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

1
debian/changelog vendored
View file

@ -12,6 +12,7 @@ git-annex (4.20131003) UNRELEASED; urgency=low
appends stuff to it to make a temporary filename. Closes: #725512
* status: Fix space leak in local mode, introduced in version 4.20130920.
* import: Skip .git directories.
* Remove bogus runshell loop check.
-- Joey Hess <joeyh@debian.org> Thu, 03 Oct 2013 15:41:24 -0400

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)"

View file

@ -21,9 +21,6 @@ if [ ! -e "$bundle/git" ]; then
echo "** bundle directory $bundle does not contain 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)"