aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-19 17:10:48 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-19 17:10:48 +0000
commitc0e0a18f2c071b15c16eeedda39fd440b95cbd36 (patch)
tree8fb5f0ab278bf89a4f7f867bd78a9b67f472baa2
parent6aeb4765eca487778c2fd25b0243f39db6b0ef47 (diff)
downloadsimplepkg-c0e0a18f2c071b15c16eeedda39fd440b95cbd36.tar.gz
simplepkg-c0e0a18f2c071b15c16eeedda39fd440b95cbd36.tar.bz2
creating TMP at config file evaluation
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@762 04377dda-e619-0410-9926-eae83683ac58
-rw-r--r--trunk/lib/common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index e2d99ea..b695337 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -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