Some time ago ath_info was moved to its own repository, and since then
authormrenzmann <mrenzmann@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 31 Jul 2008 11:09:20 +0000 (11:09 +0000)
committermrenzmann <mrenzmann@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Thu, 31 Jul 2008 11:09:20 +0000 (11:09 +0000)
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

scripts/make-release.bash

index edb93f2e52aa3269f5def920f48e154d04a4b1f5..f1fb0e0d3bede744f61004fd625ae1dfa8944aea 100755 (executable)
@@ -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."