]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg smal fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 02:32:04 +0000 (02:32 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 4 Apr 2007 02:32:04 +0000 (02:32 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@217 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index 910086c9576ca1d18c690920c59313d6b67d2862..1495ae2bba5c39d28bcdcca708ada22ea4758777 100755 (executable)
@@ -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