aboutsummaryrefslogtreecommitdiff
path: root/branches
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-07-09 03:02:34 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-07-09 03:02:34 +0000
commitc348beec0ccfbdf64e956747a36fe3553bd04c8b (patch)
treeb52b4fbe62c2a7e27c528553299628ec3f18c9ac /branches
parentd5493bd3a7082d5a726b912929a86896327a58e0 (diff)
downloadsimplepkg-c348beec0ccfbdf64e956747a36fe3553bd04c8b.tar.gz
simplepkg-c348beec0ccfbdf64e956747a36fe3553bd04c8b.tar.bz2
createpkg-1.0.5.4: cria o diretório MAKEPKG_REPOS, se não existir.
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@398 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'branches')
-rw-r--r--branches/0.6/src/createpkg5
1 files changed, 4 insertions, 1 deletions
diff --git a/branches/0.6/src/createpkg b/branches/0.6/src/createpkg
index a1ba65b..ae3b153 100644
--- a/branches/0.6/src/createpkg
+++ b/branches/0.6/src/createpkg
@@ -31,7 +31,7 @@
# Createpkg functions
#---------------------------------------------------
-CREATEPKG_VERSION="1.0.5.3"
+CREATEPKG_VERSION="1.0.5.4"
function error_codes {
@@ -456,6 +456,9 @@ eecho $messag "$BASENAME: processing $SCRIPT_NAME"
# Change to script base directory
cd $SCRIPT_BASE
+# Make MAKEPKG_REPOS
+[ ! -e $MAKEPKG_REPOS ] && mkdir -p $MAKEPKG_REPOS
+
# Execute SlackBuild script with variables protection
if grep '^REPOS=' $SCRIPT_NAME 2>&1 >/dev/null ; then
( REPOS=$MAKEPKG_REPOS INTERACT=no sh ./$SCRIPT_NAME )