mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-13 13:44:28 +01:00
Compare commits
2 commits
851914ff75
...
1644fdda3f
| Author | SHA1 | Date | |
|---|---|---|---|
| 1644fdda3f | |||
| 61beaba966 |
2 changed files with 3 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ if [ -n "$NUX_SCRIPT" ]; then
|
|||
nux.log debug "Including script: $NUX_SCRIPT"
|
||||
nux.log trace "NUX_SCRIPT env: " $(set | grep NUX_SCRIPT)
|
||||
|
||||
compilefile=$(realpath nux-env | md5sum | cut -d" " -f1)
|
||||
compilefile=$(realpath "$NUX_SCRIPT" env | md5sum | cut -d" " -f1)
|
||||
#FIXME: check if nux_cache should be used.
|
||||
nux.nuxsh.use "$NUX_SCRIPT" "/tmp/$compilefile.nuxr.nuxsh";
|
||||
NUX_NO_INCLUDE="no-include"
|
||||
|
|
|
|||
|
|
@ -165,8 +165,10 @@ nux.nuxsh.language.def() {
|
|||
:*) identifier="$_namespace${identifier#:}"
|
||||
esac;
|
||||
echo "${indent}$identifier() {";
|
||||
echo "${indent} nux.log trace $identifier: invoked";
|
||||
for arg in ${args//,/ }; do
|
||||
echo "${indent} local $arg="'"$1"'";shift;"
|
||||
echo "${indent} nux.log trace ' ' arg $arg: "'$'$arg";"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue