Subversion: Fix detection of package removal for overlays using plain Subversion.

This commit is contained in:
Nathan Phillip Brink 2010-09-28 12:44:52 -04:00
parent c8c9e803e7
commit 8e6c21f793

View File

@ -68,7 +68,7 @@ find_repo() {
# from the repo.
is_whole_dir_removed() {
if [ ${SC_VCS} = svn ]; then
[ -z "$(svn status --depth=empty -- "${1}")" ]
[ "$(svn status --depth=empty -- "${1}" | wc -l)" = 1 ]
elif [ ${SC_VCS%-svn} = git ]; then
[ -z "$(git ls-files -c -- "${1}")" ]
elif [ ${SC_VCS} = hg ]; then