summaryrefslogtreecommitdiffstats
path: root/bin/container
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbin/container4
-rwxr-xr-xbin/container-shell4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/container b/bin/container
index 4570dc3..1836b33 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/lib/${PROJECT}/${PROGRAM}/${COMMAND}" ]
+ if [ ! -e "/usr/libexec/${PROJECT}/${PROGRAM}/${COMMAND}" ]
then
echo "'${COMMAND}': no such ${PROGRAM} command" >&2
exit 1
@@ -91,7 +91,7 @@ do
fi
# Run
- "/usr/lib/${PROJECT}/${PROGRAM}/${COMMAND}" "${OPTIONS}"
+ "/usr/libexec/${PROJECT}/${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 016724f..0895691 100755
--- a/bin/container-shell
+++ b/bin/container-shell
@@ -64,7 +64,7 @@ Shell ()
echo "The following ${PROGRAM} commands are available:"
echo
- cd "/usr/lib/${PROJECT}/${PROGRAM}"
+ cd "/usr/libexec/${PROJECT}/${PROGRAM}"
find . -type f -printf " %f\n" | sort
cd "${OLDPWD}"
@@ -97,7 +97,7 @@ Shell ()
;;
esac
- if [ ! -e "/usr/lib/${PROJECT}/${PROGRAM}/${COMMAND}" ]
+ if [ ! -e "/usr/libexec/${PROJECT}/${PROGRAM}/${COMMAND}" ]
then
echo "'${COMMAND}': no such ${PROGRAM} command" >&2
return