Skip to content

Commit f4d0cfa

Browse files
sdavtakerjuanlanuzag
authored andcommitted
Adding creation of simulators directory for first run of setup scripts
1 parent 90715b4 commit f4d0cfa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: setup.sh

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ BASEDIR_ABS=$(cd "$(dirname "$0")" && pwd)
44
SIMULATORS_DIR="$BASEDIR_ABS/simulators"
55
echo "Fetching simulators in $SIMULATORS_DIR"
66

7+
if [ -d "$SIMULATORS_DIR" ]; then
8+
echo "Simulators dir was setup in previous run"
9+
else
10+
mkdir -p "$SIMULATORS_DIR"
11+
fi
12+
713
echo "Fetching cadmium"
814
CADMIUM_DIR="$SIMULATORS_DIR/cadmium"
915
if [ -d "$CADMIUM_DIR" ]; then

0 commit comments

Comments
 (0)