Attempt to fix environment mess

This commit is contained in:
Olusesan Ameye
2025-07-16 03:14:22 +00:00
parent b344f8ed3d
commit 91d126e56a
3 changed files with 17 additions and 1 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#!/bin/sh
set -e
echo "NODE_ENV=$NODE_ENV"
# 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
@@ -8,4 +9,4 @@ if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] &&
set -- node "$@"
fi
exec "$@"
exec "$@"