aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/mkbuild
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-30 19:58:17 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-30 19:58:17 +0000
commit0a74464a3dab5ae8ba3d8616cd2da1bd30b5f85d (patch)
tree627635ec2daaedadaa01f8a254586e6527f1ce5e /trunk/src/mkbuild
parent9f2db07cb54fd3b0dbee1c35e7529a1cd66b40d7 (diff)
downloadsimplepkg-0a74464a3dab5ae8ba3d8616cd2da1bd30b5f85d.tar.gz
simplepkg-0a74464a3dab5ae8ba3d8616cd2da1bd30b5f85d.tar.bz2
more wrapper svn functions
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@787 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/mkbuild')
-rwxr-xr-xtrunk/src/mkbuild8
1 files changed, 4 insertions, 4 deletions
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