From 82b61e015d031cd2acf9bc2d85d060b2da1c39ba Mon Sep 17 00:00:00 2001 From: mrenzmann Date: Thu, 31 Jul 2008 11:18:26 +0000 Subject: [PATCH] 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 --- scripts/make-release.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/make-release.bash b/scripts/make-release.bash index f1fb0e0..b6e6ad0 100755 --- a/scripts/make-release.bash +++ b/scripts/make-release.bash @@ -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