diff --git a/bin/nux-runner b/bin/nux-runner index 8af49a9..cb48121 100755 --- a/bin/nux-runner +++ b/bin/nux-runner @@ -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 diff --git a/inc/nux-base.inc.sh b/inc/nux.inc.sh similarity index 98% rename from inc/nux-base.inc.sh rename to inc/nux.inc.sh index 8358c29..ddf935b 100644 --- a/inc/nux-base.inc.sh +++ b/inc/nux.inc.sh @@ -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 "$@"; }