]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
minor fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 30 Jan 2009 20:07:15 +0000 (20:07 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 30 Jan 2009 20:07:15 +0000 (20:07 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@788 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh
trunk/src/createpkg
trunk/src/templatepkg

index 4bdd6b5e5ec13d3455d3f638d3607d43c0f2a486..0f2edcdff443863a63521e01e27fd1e53c081ffc 100644 (file)
@@ -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
index 9563055c7d1a9a2eba35b81cc5a7ef8a1494cbd1..c83b6733bf722852868ef39db3cda533a50e047d 100644 (file)
@@ -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
index ba5946b1412a56dfca843e9973d2656cd369aeef..2d1ada2db4884b64045ce70b589ebd8c1a6397d2 100755 (executable)
@@ -170,7 +170,7 @@ function import_export_templates {
   repository="$2"
   preposition="from"
 
-  check_svn_repo $repository
+  valid_svn_repo $repository
 
   if [ ! -z "$2" ]; then