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

nux: Renamed nux-base.inc.sh to nux.inc.sh

This commit is contained in:
Tony Tkáčik 2017-07-16 16:50:43 +02:00
parent c1ba6ae4ec
commit acefb64cdc
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
### ###
### *nux-runner* is wrapped bash interpreter for *nux-env* enhanced bash scripts ### *nux-runner* is wrapped bash interpreter for *nux-env* enhanced bash scripts
@ -37,7 +37,7 @@
readonly NUX_RUNNER_BIN_DIR=$(dirname $(realpath ${BASH_SOURCE[0]})) readonly NUX_RUNNER_BIN_DIR=$(dirname $(realpath ${BASH_SOURCE[0]}))
source $NUX_RUNNER_BIN_DIR/../inc/nux-base.inc.sh source $NUX_RUNNER_BIN_DIR/../inc/nux.inc.sh
readonly NUX_RUNNER=$NUX_RUNNER_BIN_DIR/nux-runner; readonly NUX_RUNNER=$NUX_RUNNER_BIN_DIR/nux-runner;
nux.use nux-runner nux.use nux-runner

View file

@ -197,6 +197,7 @@ function nux.exec.or {
if nux.check.function "$maybe" ; then if nux.check.function "$maybe" ; then
to_exec=$maybe to_exec=$maybe
fi fi
nux.log trace "Executing $to_exec , optional was $maybe"
$to_exec "$@"; $to_exec "$@";
} }