chore: remove -r flag from build.sh as index.html is not a directory

This commit is contained in:
zelfroster 2023-08-26 14:59:06 +05:30
parent e15d14179e
commit f84e5ff4cb

View File

@ -29,7 +29,7 @@ shopt -s globstar
if [ "$2" = "" ]||[ "$2" = "index.html" ]; then
echo copying html file
cp -r $src/index.html $publicdest/
cp $src/index.html $publicdest/
fi
if [ "$2" = "" ]||[ "$2" = "styles.css" ]; then