From 8e6c21f79369b39fb07f5490510f01082ca22ad1 Mon Sep 17 00:00:00 2001 From: Nathan Phillip Brink Date: Tue, 28 Sep 2010 12:44:52 -0400 Subject: [PATCH] Subversion: Fix detection of package removal for overlays using plain Subversion. --- sunrise-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunrise-commit b/sunrise-commit index cabb171..7128ec1 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -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