aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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