Prevent complaint from grep in case Subversion has not yet saved any (simple) authentication information.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3832 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
mrenzmann 2008-07-31 11:18:26 +00:00
parent f647d069c2
commit 82b61e015d
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ check_dir_prereq "RELEASE_STORE"
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