Add "mods" directory creation

This commit is contained in:
Dorian Niemiec 2024-02-02 20:08:39 +01:00
parent 43ca7d6e4b
commit 3295cb6973

View file

@ -32,6 +32,7 @@ mv node_modules_uncompressed node_modules
mkdir log mkdir log
mkdir temp mkdir temp
mkdir mods
SVRJSVERSION=$(cat svr.js | grep -E '^[ \t]*(var|const|let) *version *= *(["'"'"'])' | grep -E -o '"([^"\\]|\\.)+"|'"'"'([^'"'"'\\]|\\.)+'"'"'' | head -n 1 | sed -E 's/^.|.$//g' | sed -E 's/\\(.)/\1/g') SVRJSVERSION=$(cat svr.js | grep -E '^[ \t]*(var|const|let) *version *= *(["'"'"'])' | grep -E -o '"([^"\\]|\\.)+"|'"'"'([^'"'"'\\]|\\.)+'"'"'' | head -n 1 | sed -E 's/^.|.$//g' | sed -E 's/\\(.)/\1/g')
if [ "$SVRJSVERSION" == "" ]; then if [ "$SVRJSVERSION" == "" ]; then