Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit ec59c31

Browse files
committed
Fix creating derived data folder in build script if it does not exist
1 parent 3ec9e9e commit ec59c31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function trap_handler {
1515
trap trap_handler INT TERM EXIT
1616

1717
# Derived data handling
18-
[ -d DERIVED_DATA_PATH ] || mkdir DERIVED_DATA_PATH
18+
eval [ ! -d $DERIVED_DATA_PATH ] && eval mkdir $DERIVED_DATA_PATH
1919
function clean_derived_data {
2020
eval find $DERIVED_DATA_PATH -mindepth 1 -delete
2121
}

0 commit comments

Comments
 (0)