diff options
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-x | trunk/src/templatepkg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 910086c..1495ae2 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -78,8 +78,10 @@ function check_svn_repo { if [ ! -z "$1" ]; then if echo $1 | grep -q -v -e "^svn://"; then if echo $1 | grep -q -v -e "^svn+ssh://"; then - echo $BASENAME: invalid repository URL $1 - return 1 + if echo $1 | grep -q -v -e "^file://"; then + echo $BASENAME: invalid repository URL $1 + return 1 + fi fi fi else |