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:
parent
c1ba6ae4ec
commit
acefb64cdc
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
###
|
||||
### *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]}))
|
||||
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;
|
||||
|
||||
nux.use nux-runner
|
||||
|
|
|
|||
|
|
@ -197,6 +197,7 @@ function nux.exec.or {
|
|||
if nux.check.function "$maybe" ; then
|
||||
to_exec=$maybe
|
||||
fi
|
||||
nux.log trace "Executing $to_exec , optional was $maybe"
|
||||
$to_exec "$@";
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue