Gmane
From: Michael Renzmann <svn-commits <at> madwifi.org>
Subject: revision 3831 committed
Newsgroups: gmane.linux.drivers.madwifi.cvs
Date: 2008-07-31 11:09:20 GMT (23 weeks, 1 day, 16 hours and 55 minutes ago)
Project     : madwifi
Revision    : 3831
Author      : mrenzmann (Michael Renzmann)
Date        : 2008-07-31 13:09:20 +0200 (Thu, 31 Jul 2008)

Log Message :
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.

Affected Files:
* madwifi/trunk/scripts/make-release.bash             updated             

Modified: madwifi/trunk/scripts/make-release.bash
===================================================================
--- madwifi/trunk/scripts/make-release.bash	2008-07-31 06:02:09 UTC (rev 3830)
+++ madwifi/trunk/scripts/make-release.bash	2008-07-31 11:09:20 UTC (rev 3831)
@@ -97,7 +97,8 @@
 }

 # 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."

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/