diff --git a/scripts/single_build.sh b/scripts/single_build.sh index 957c2970b..39cb6e5cc 100755 --- a/scripts/single_build.sh +++ b/scripts/single_build.sh @@ -8,11 +8,11 @@ if [ $# -eq 0 ] echo "No arguments given. Expected a themename" fi -pwd npm run refresh:layeroverview npm run generate:layeroverview -npm run generate:layouts -if [ -f "$THEME.html" ] + npm run generate:layouts + +if [[ -f "$THEME.html" ]] then echo "$THEME.html found." else