Use LDOPTS instead of LDFLAGS to avoid an ld warning on Linux 2.4
[madwifi/.git] / scripts / make-release.bash
index edb93f2e52aa3269f5def920f48e154d04a4b1f5..5ce8805e5519b7838c7c200570f95bc40a88eb9d 100755 (executable)
@@ -49,10 +49,12 @@ fi
 check_dir_prereq "RELEASE_TMP"
 check_dir_prereq "RELEASE_STORE"
 
-# caller must have write access to the madwifi.org repository
+# caller must have write access to the madwifi-project.org repository
 valid=0
 repos=$(svn info | grep "Repository Root" | cut -d" " -f3)
 for f in ~/.subversion/auth/svn.simple/*; do
+       [ -f $f ] || continue
+       
        if [[ "$(grep -c "$repos" $f)" != "0" ]]; then
                valid=1
                break
@@ -97,7 +99,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."