diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-04-11 12:21:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2021-04-11 12:45:20 +0000 |
commit | 1695aa88c331468e0adddbcc5b098a41d26dbfa6 (patch) | |
tree | be22bf84deee079d7f63e2dd125dc5ee0362658f /bin | |
parent | Moving config files from /etc/open-infrastructure to /etc/compute-tools. (diff) | |
download | compute-tools-1695aa88c331468e0adddbcc5b098a41d26dbfa6.tar.xz compute-tools-1695aa88c331468e0adddbcc5b098a41d26dbfa6.zip |
Using /usr/libexec/container instead of /usr/libexec/open-infrastructure/container.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-x | bin/container | 4 | ||||
-rwxr-xr-x | bin/container-shell | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/container b/bin/container index 182d9b4..d99916a 100755 --- a/bin/container +++ b/bin/container @@ -44,7 +44,7 @@ OPTIONS="${@}" for COMMAND in $(echo ${COMMANDS} | sed -e 's|,| |g') do - if [ ! -e "/usr/libexec/${PROJECT}/${PROGRAM}/${COMMAND}" ] + if [ ! -e "/usr/libexec/${PROGRAM}/${COMMAND}" ] then echo "'${COMMAND}': no such ${PROGRAM} command" >&2 exit 1 @@ -91,7 +91,7 @@ do fi # Run - "/usr/libexec/${PROJECT}/${PROGRAM}/${COMMAND}" "${OPTIONS}" + "/usr/libexec/${PROGRAM}/${COMMAND}" "${OPTIONS}" # Post hooks for FILE in "${HOOKS}/post-${PROGRAM}".* "${HOOKS}/${NAME}.post-${PROGRAM}" diff --git a/bin/container-shell b/bin/container-shell index 0895691..0622370 100755 --- a/bin/container-shell +++ b/bin/container-shell @@ -64,7 +64,7 @@ Shell () echo "The following ${PROGRAM} commands are available:" echo - cd "/usr/libexec/${PROJECT}/${PROGRAM}" + cd "/usr/libexec/${PROGRAM}" find . -type f -printf " %f\n" | sort cd "${OLDPWD}" @@ -97,7 +97,7 @@ Shell () ;; esac - if [ ! -e "/usr/libexec/${PROJECT}/${PROGRAM}/${COMMAND}" ] + if [ ! -e "/usr/libexec/${PROGRAM}/${COMMAND}" ] then echo "'${COMMAND}': no such ${PROGRAM} command" >&2 return |