summaryrefslogtreecommitdiffstats
path: root/bin/container
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:21:55 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:45:20 +0000
commit1695aa88c331468e0adddbcc5b098a41d26dbfa6 (patch)
treebe22bf84deee079d7f63e2dd125dc5ee0362658f /bin/container
parentMoving config files from /etc/open-infrastructure to /etc/compute-tools. (diff)
downloadcompute-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 'bin/container')
-rwxr-xr-xbin/container4
1 files changed, 2 insertions, 2 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}"