Switch to Node.js 14.19.0 and production build

This commit is contained in:
ChiefSoft works
2022-02-20 03:52:17 +00:00
parent a5b84f5075
commit 3cebf4c47c
2 changed files with 113 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -e
# Run command with node if the first argument contains a "-" or is not a system command. The last
# part inside the "{}" is a workaround for the following bug in ash/dash:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874264
if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] && ! [ -x "${1}" ]; }; then
set -- node "$@"
fi
exec "$@"