gets pulled in by Subversion as external dependency. This adds some
more lines to the output of "svn status", which caused the check for
not yet committed changes in the local working copy to fail. These
lines are now filtered out to fix this issue.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3831
0192ed92-7a03-0410-a25b-
9323aeb14dbd
}
# check if local working copy has uncommitted changes
-if [[ ! -z "$(svn status)" ]]; then
+changes="$(svn status | sed -e "/^X/d" -e "/^$/d" -e "/external item/d")"
+if [[ ! -z "$changes" ]]; then
echo
echo "ERROR:"
echo "Your working copy has changes which are not yet committed."