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:
parent
fc1b5bbc87
commit
163a2b820b
7 changed files with 12 additions and 159 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue