Fix build script when build directory is missing
This commit is contained in:
@ -16,9 +16,9 @@ then
|
||||
fi
|
||||
MODEL_DIR="$(realpath "models/${MODEL}")"
|
||||
|
||||
BUILD="$(realpath "build/${MODEL}")"
|
||||
|
||||
# Clean build directory
|
||||
mkdir -p build
|
||||
BUILD="$(realpath "build/${MODEL}")"
|
||||
rm -rf "${BUILD}"
|
||||
mkdir -p "${BUILD}"
|
||||
|
||||
|
Reference in New Issue
Block a user