summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-25 20:35:22 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-25 20:35:22 +0100
commit58c0b4798f8958d79848d427a291ad12ac2b7e9f (patch)
treec77a7ffdda357aaa6bf497c783412a293a41e169
parent4c8a6ac341b505630da4f362688420291bff73e6 (diff)
common: Make directories to ensure they exist
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rwxr-xr-xcommon.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.sh b/common.sh
index 9177630..c217021 100755
--- a/common.sh
+++ b/common.sh
@@ -8,6 +8,11 @@ STAMPS=$(pwd)/stamps
BUILDS=$(pwd)/builds
SOURCES=$(pwd)/src
+mkdir -p "$LOGS"
+mkdir -p "$STAMPS"
+mkdir -p "$BUILDS"
+mkdir -p "$SOURCES"
+
ID=$(basename $0)
libcamera_version() {