From 4bda0d52bb0b70c1cadb5a8c5286b180f0245a6d Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 22 Jul 2013 03:27:48 +0200 Subject: [PATCH] Make sure the base folder always exists --- src/deforaos-update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/deforaos-update.sh b/src/deforaos-update.sh index 19b76d8..6edb538 100755 --- a/src/deforaos-update.sh +++ b/src/deforaos-update.sh @@ -66,6 +66,7 @@ _deforaos_update_cvs() #checkout tree if necessary if [ ! -d "$SRC" ]; then + $MKDIR -- "$ROOT" || exit 2 echo "" echo "Checking out CVS module $CVSMODULE:" (cd "$ROOT" && $CVS "-d$CVSROOT" co "$CVSMODULE") \