diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 14:03:18 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-28 14:03:18 +0000 |
commit | cbfe085886a94f6c61b88d0976714f3e857bec34 (patch) | |
tree | 5f4f7f9196c8c88cab661386de472cbb6815b85e /trunk | |
parent | 2b674e376cab01218211d66eb8b0126a7bafe6f5 (diff) | |
download | simplepkg-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/createpkg | 3 |
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 |