aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 14:03:18 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 14:03:18 +0000
commitcbfe085886a94f6c61b88d0976714f3e857bec34 (patch)
tree5f4f7f9196c8c88cab661386de472cbb6815b85e /trunk
parent2b674e376cab01218211d66eb8b0126a7bafe6f5 (diff)
downloadsimplepkg-cbfe085886a94f6c61b88d0976714f3e857bec34.tar.gz
simplepkg-cbfe085886a94f6c61b88d0976714f3e857bec34.tar.bz2
fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@596 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r--trunk/src/createpkg3
1 files changed, 2 insertions, 1 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 481bc54..caa746f 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -526,13 +526,14 @@ 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
if [ -d "$MAKEPKG_REPOS/.svn" ] && ! svn_check $NEW_REPOS; then
cwd="`pwd`"
cd $MAKEPKG_REPOS
chown_svn $MAKEPKG_REPOS && chgrp_svn $MAKEPKG_REPOS
svn_mkdir $( echo ${SCRIPT_BASE#$SLACKBUILDS_DIR/} )
cd $cwd
+ else
+ mkdir -p $NEW_REPOS
fi
fi