Some time ago ath_info was moved to its own repository, and since then

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
This commit is contained in:
mrenzmann 2008-07-31 11:09:20 +00:00
parent 61af7f3601
commit f647d069c2

View File

@ -97,7 +97,8 @@ svn info > /dev/null 2>&1 || {
}
# 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."