From 0a74464a3dab5ae8ba3d8616cd2da1bd30b5f85d Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 30 Jan 2009 19:58:17 +0000 Subject: more wrapper svn functions git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@787 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/mkbuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'trunk/src/mkbuild') diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index dd04dec..1ef3328 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -253,7 +253,7 @@ function set_parameters { '--sync' ) # Synchronize mkbuilds repository mkbuild_update_keyring - sync_repo $MKBUILDS_DIR $MKBUILDS_SVN + sync_svn_repo $MKBUILDS_DIR $MKBUILDS_SVN exit $? ;; '-v'|'--version') @@ -701,7 +701,7 @@ function submit_mkbuild { local candidate oldplace # Check mkbuild directory - [ ! -d $MKBUILDS_DIR ] && build_repo $MKBUILDS_DIR $MKBUILDS_SVN + if [ ! -d $MKBUILDS_DIR ] && build_svn_repo $MKBUILDS_DIR $MKBUILDS_SVN # Get mkbuild path in parameter file MKBUILD_PATH=$SLACKBUILD_PATH @@ -784,14 +784,14 @@ function repository_status { local cwd - if [ -d "$MKBUILDS_DIR/.svn" ]; then + if svn_folder $MKBUILDS_DIR; then echo "Status of $MKBUILDS_DIR." cwd="`pwd`" cd $MKBUILDS_DIR && su_svn status cd $cwd fi - if [ -d "$SLACKBUILDS_DIR/.svn" ]; then + if svn_folder $SLACKBUILDS_DIR; then cwd="`pwd`" echo "Status of $SLACKBUILDS_DIR." cd $SLACKBUILDS_DIR && su_svn status -- cgit v1.2.3