diff --git a/build.sh b/build.sh index 79382ad..80da62a 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,9 @@ cd ./out/ filename=$(find . -mindepth 1 -maxdepth 1 -name "blendOS-*.iso") date=${filename%-*} date=${date#*-} -mkdir /iso/$date/ +if [ ! -d /iso/$date/ ]; then + mkdir /iso/$date/ +fi cp -r $filename /iso/$date/ cd /iso/