]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
createpkg: small fixes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Tue, 24 Jul 2007 01:53:46 +0000 (01:53 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Tue, 24 Jul 2007 01:53:46 +0000 (01:53 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@406 04377dda-e619-0410-9926-eae83683ac58

trunk/src/createpkg

index 373c8cccb6241f4e99996c08fbd473a1f7aba7e2..069c771197642e73faf089d0ab1276afe1e9f2e7 100644 (file)
@@ -147,8 +147,8 @@ function check_config {
     TMP=${TMP:=/tmp};
     REPOS=${REPOS:=$MAKEPKG_REPOS};
     # Create $TMP and $REPOS if need
-    [ ! -e $TPM ] && mkdir $TMP
-    [ ! -e $REPOS ] && mkdir $REPOS
+    [ ! -e $TMP ] && mkdir -p $TMP
+    [ ! -e $REPOS ] && mkdir -p $REPOS
     #
     SLACKBUILDS_DIR=${SLACKBUILDS_DIR:=/var/slackbuilds}
     SVN=${SVN:=svn://slack.sarava.org/slackbuilds}
@@ -211,7 +211,7 @@ function sync_repo {
 
     # Synchronize repository
     cd $SLACKBUILDS_DIR
-    exit # svn update || build_repo
+    svn update || build_repo
     #simplaret --update
 
 }