diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-07-14 00:43:13 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-08-11 00:17:51 +0300 |
commit | 41e71b4cbb02a9c3d0be01d25dd49aa39d06b8c8 (patch) | |
tree | b8a56b7d52bab9298a6b2d188c6c41b5b093d6ac /etc/library.sh | |
parent | c0a69703aeaf84f8bdad6e9d64d44d1719a77521 (diff) |
added ncp-webv0.17.0
Diffstat (limited to 'etc/library.sh')
-rwxr-xr-x | etc/library.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/library.sh b/etc/library.sh index 1823cddc..2e25b1ef 100755 --- a/etc/library.sh +++ b/etc/library.sh @@ -205,10 +205,16 @@ function install_script() function activate_script() { + local SCRIPT=$1 + echo -e "Activating \e[1m$( basename $SCRIPT .sh )\e[0m" + launch_script $SCRIPT +} + +function launch_script() +{ ( local SCRIPT=$1 source ./$SCRIPT - echo -e "Activating \e[1m$( basename $SCRIPT .sh )\e[0m" set +x configure ) |