diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/container | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/container b/bin/container index a23f274..805dba6 100755 --- a/bin/container +++ b/bin/container @@ -20,6 +20,7 @@ set -e SOFTWARE="container-tools" PROGRAM="container" +export SOFTWARE PROGRAM HOOKS="/etc/${SOFTWARE}/hooks" @@ -34,6 +35,7 @@ fi # Command COMMAND="${1}" +export COMMAND if [ ! -e "/usr/lib/${SOFTWARE}/${PROGRAM}/${COMMAND}" ] then @@ -44,6 +46,7 @@ fi # Options shift 1 OPTIONS="${@}" +export OPTIONS # Pre hooks for FILE in "${HOOKS}/pre-${PROGRAM}".* "${HOOKS}/${NAME}.pre-${PROGRAM}" |