aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/createpkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 23:11:47 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-27 23:11:47 +0000
commitcef62564549aaaded4e3135bffc181aa57c3151d (patch)
tree600fefbb7bf598f6c01392c02c5b4d0cbb5bfc33 /trunk/src/createpkg
parent316be7696a4d1112328a346e49b50f1cb0c6290b (diff)
downloadsimplepkg-cef62564549aaaded4e3135bffc181aa57c3151d.tar.gz
simplepkg-cef62564549aaaded4e3135bffc181aa57c3151d.tar.bz2
fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@562 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r--trunk/src/createpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index fe52d4f..1ab48a6 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -526,12 +526,12 @@ PKG_NAME="`ls -1 -c $MAKEPKG_REPOS/$PACKAGE-*-*-*.tgz | head -n 1 | xargs basena
# Create repository directory
if [ ! -e $NEW_REPOS ]; then
- mkdir -p $NEW_REPOS || mkdir -p $NEW_REPOS
+ mkdir -p $NEW_REPOS
if [ -d "$MAKEPKG_REPOS/.svn" ] && ! svn_check $NEW_REPOS; then
cwd="`pwd`"
cd $MAKEPKG_REPOS
chown_svn $MAKEPKG_REPOS && chgrp_svn $MAKEPKG_REPOS
- su_svn add $( echo ${SCRIPT_BASE#$SLACKBUILDS_DIR/} )
+ svn_mkdir $( echo ${SCRIPT_BASE#$SLACKBUILDS_DIR/} )
cd $cwd
fi
fi