aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common.sh b/lib/common.sh
index 07b92b4..ad02f20 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -285,6 +285,10 @@ function eval_config {
mkdir -p $STORAGE
fi
+ if [ ! -d "$PATCHES_DIR" ]; then
+ mkdir -p $PATCHES_DIR
+ fi
+
if [ -z "$ARCH" ]; then
ARCH="$DEFAULT_ARCH"
fi