aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvax Software <[email protected]>2011-04-01 11:49:00 +0200
committerEvax Software <[email protected]>2011-04-01 11:49:00 +0200
commit2a7caf5e32b395eee5d1c840ca8d0c1279489fdd (patch)
tree83f3dae7873316468f7c5a13aae1fc0794087293
parente6ccb3de86f2efc24d7e9df2ccb2789465481faf (diff)
downloadkerl-2a7caf5e32b395eee5d1c840ca8d0c1279489fdd.tar.gz
kerl-2a7caf5e32b395eee5d1c840ca8d0c1279489fdd.tar.bz2
kerl-2a7caf5e32b395eee5d1c840ca8d0c1279489fdd.zip
Ensure KERL_BASE_DIR is created
-rwxr-xr-xkerl3
1 files changed, 3 insertions, 0 deletions
diff --git a/kerl b/kerl
index 90273e3..48dad92 100755
--- a/kerl
+++ b/kerl
@@ -29,6 +29,9 @@ KERL_BUILD_DIR=$KERL_BASE_DIR/builds
KERL_CONFIGURE_OPTIONS=
KERL_MAKE_OPTIONS=
+# ensure the base dir exsists
+mkdir -p $KERL_BASE_DIR
+
# source the config file if available
if [ -f "$KERL_CONFIG" ]; then . "$KERL_CONFIG"; fi