about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCharadon <dev@iotib.net>2022-09-29 10:08:37 -0400
committerCharadon <dev@iotib.net>2022-09-29 10:08:37 -0400
commit24921f2f79dd21553375dc0db972ffe1e0898467 (patch)
tree0efa0d3d219726054bcb3ab93074a6dc1a03c956
parent00f5059d1afee76c273555d7c03f473ad349e344 (diff)
downloaddscip-24921f2f79dd21553375dc0db972ffe1e0898467.tar.gz
setup.sh: Fixed issue where directory isn't created when using system dscip 0.9.1
-rwxr-xr-xsetup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 7068a1a..3667909 100755
--- a/setup.sh
+++ b/setup.sh
@@ -59,6 +59,7 @@ check_config() {
 install_dscip() {
 	echo "Installing dscip..."
 	set -x
+	mkdir -p "$PROJECT_LOCATION"
 	if [ -d "/usr/share/charadon/dscip" ]; # See if dscip is packaged/installed on system.
 	then
 		cp /usr/share/charadon/dscip/* "$PROJECT_LOCATION"