aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-07-30 16:39:01 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-07-30 16:39:01 +0000
commit502aea4e3f141b517b9bccfb6f1047447cf30ab9 (patch)
tree726b860ef415adac781d56c8de2a4b067c915c91
parente92c045bb64f2329aaf49337e9f0fda84ac88557 (diff)
downloadsimplepkg-502aea4e3f141b517b9bccfb6f1047447cf30ab9.tar.gz
simplepkg-502aea4e3f141b517b9bccfb6f1047447cf30ab9.tar.bz2
createpkg-1.1.2: removido duplicação da criação do diretório REPOS (ou MAKEPKG_REPOS)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@409 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/src/createpkg7
1 files changed, 2 insertions, 5 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 80fff8f..5b303fe 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -31,7 +31,7 @@
# Createpkg functions
#---------------------------------------------------
-CREATEPKG_VERSION="1.1.1"
+CREATEPKG_VERSION="1.1.2"
function error_codes {
@@ -152,7 +152,7 @@ function check_config {
fi
# Create $TMP and $REPOS if need
[ ! -e $TMP ] && mkdir -p $TMP
- [ ! -e $REPOS ] && mkdir -p $REPOS
+ [ ! -e $MAKEPKG_REPOS ] && mkdir -p $MAKEPKG_REPOS
#
SLACKBUILDS_DIR=${SLACKBUILDS_DIR:=/var/slackbuilds}
SVN=${SVN:=svn://slack.sarava.org/slackbuilds}
@@ -472,9 +472,6 @@ eecho $messag "$BASENAME: processing $SCRIPT_NAME"
# Change to script base directory
cd $SCRIPT_BASE
-# Make MAKEPKG_REPOS
-[ ! -e $MAKEPKG_REPOS ] && mkdir -p $MAKEPKG_REPOS
-
# Run SlackBuild script
(
SRC_DIR=${SRC_DIR:=$SOURCE_DIR} \