1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Fixed NUX_APP_NAME usage.

Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
Tony Tkáčik 2019-02-03 14:38:53 +01:00
parent fc1b5bbc87
commit 163a2b820b
7 changed files with 12 additions and 159 deletions

View file

@ -132,6 +132,9 @@ if [ -n "$NUX_SCRIPT" ]; then
NUX_SCRIPTNAME=$(basename "$NUX_SCRIPT")
NUX_APP_NAME="${NUX_APP_NAME:=$NUXR_APP_NAME}"
NUX_APP_DIR="${NUX_APP_DIR:=$NUXR_APP_DIR}"
nux.log trace "NUX_SCRIPT env: " $(set | grep NUX_SCRIPT)
if [ -z "$NUX_NO_INCLUDE" ]
then
@ -143,6 +146,9 @@ if [ -n "$NUX_SCRIPT" ]; then
nux.nuxsh.use "$NUX_SCRIPT" "/tmp/$compilefile.nuxr.nuxsh";
NUX_NO_INCLUDE="no-include"
fi
nuxr.main "$@"
else