mirror of https://github.com/proski/madwifi
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:
parent
f647d069c2
commit
82b61e015d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue