summaryrefslogtreecommitdiffstats
path: root/bin/container-shell
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-shell
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 '')
-rwxr-xr-xbin/container-shell4
1 files changed, 2 insertions, 2 deletions
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