Ensure mkdir doesn't fail if dist exists

This commit is contained in:
Abdelrahman Said 2023-11-04 11:38:30 +00:00
parent 1be318c239
commit b2dc73148e

View File

@ -76,7 +76,7 @@ if [[ $BUILD_TYPE == "debug" ]]; then
PCKR_OUT="pckr" PCKR_OUT="pckr"
PAKRD_OUT="libpakrd.a" PAKRD_OUT="libpakrd.a"
else else
mkdir dist mkdir -p dist
cp ./include/pak.h dist cp ./include/pak.h dist
CFLAGS+="-O3 " CFLAGS+="-O3 "
PCKR_OUT="dist/pckr" PCKR_OUT="dist/pckr"