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