]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
creating TMP at config file evaluation
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 19 Jan 2009 17:10:48 +0000 (17:10 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Mon, 19 Jan 2009 17:10:48 +0000 (17:10 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@762 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index e2d99eaad4abf08a64e5b206e7a2f5956dff6475..b69533742d2e3d72f9910cb34a24995d4bac9f7b 100644 (file)
@@ -267,6 +267,10 @@ function eval_config {
     mkdir -p $PATCHES_DIR
   fi
 
+  if [ ! -d "$TMP" ]; then
+    mkdir -p $TMP
+  fi
+
   if [ -z "$ARCH" ]; then
     ARCH="$DEFAULT_ARCH"
   fi