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