diff options
Diffstat (limited to 'trunk')
| -rw-r--r-- | trunk/lib/common.sh | 4 | ||||
| -rw-r--r-- | trunk/src/createpkg | 2 | ||||
| -rwxr-xr-x | trunk/src/templatepkg | 2 | 
3 files changed, 4 insertions, 4 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 4bdd6b5..0f2edcd 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -934,7 +934,7 @@ function commit_changes {  } -function check_svn_repo { +function valid_svn_repo {    # check a svn repository URL    # usage: set_svn_repo <repository> @@ -996,7 +996,7 @@ function repository_import {      return $EXIT_CODE    fi -  if ! check_svn_repo $repository; then +  if ! valid_svn_repo $repository; then      echo "Invalid repository $repository, aborting."      EXIT_CODE="1"      return $EXIT_CODE diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 9563055..c83b673 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -290,7 +290,7 @@ function repository_checkout {      svn="$PACKAGES_SVN"    fi -  if check_svn_repo $svn; then  +  if valid_svn_repo $svn; then       svn checkout $svn $PACKAGES_DIR      chown_svn $PACKAGES_DIR && chgrp_svn $PACKAGES_DIR      if [ "$svn" != "$PACKAGES_SVN" ]; then diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index ba5946b..2d1ada2 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -170,7 +170,7 @@ function import_export_templates {    repository="$2"    preposition="from" -  check_svn_repo $repository +  valid_svn_repo $repository    if [ ! -z "$2" ]; then  | 
