From 6af2ecfdde5655dd15137647d3b2099e0f85a0ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Weigert?= Date: Mon, 14 Apr 2025 18:20:01 +0200 Subject: [PATCH] avoid useless mkdir calls --- deployments/examples/bare-metal-simple/install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deployments/examples/bare-metal-simple/install.sh b/deployments/examples/bare-metal-simple/install.sh index bb790f8d93..14dc004e78 100755 --- a/deployments/examples/bare-metal-simple/install.sh +++ b/deployments/examples/bare-metal-simple/install.sh @@ -69,11 +69,10 @@ echo "Downloading ${dlurl}/${dlfile}" curl -L -o "${dlfile}" --progress-bar "${dlurl}/${dlfile}" chmod 755 ${dlfile} -mkdir data config - basedir="${OC_BASE_DIR:-$(pwd)}" export OC_CONFIG_DIR="$basedir/config" export OC_BASE_DATA_PATH="$basedir/data" +mkdir "$OC_CONFIG_DIR" "$OC_BASE_DATA_PATH" # It is bound to localhost for now to deal with non existing routes # to certain host names for example in WSL