From a7b5b98174c5c273ab91682593d5a48e56ef414c Mon Sep 17 00:00:00 2001 From: Trenton H Date: Mon, 31 Oct 2022 10:10:28 -0700 Subject: [PATCH] Fixes the paths to binaries --- docker/docker-prepare.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/docker-prepare.sh b/docker/docker-prepare.sh index 18b5e8815..a73b5aad9 100755 --- a/docker/docker-prepare.sh +++ b/docker/docker-prepare.sh @@ -109,14 +109,14 @@ custom_container_init() { fi # Make sure custom init directory has files in it - if [ -n "$(/usr/bin/ls -A "${custom_script_dir}" 2>/dev/null)" ]; then + if [ -n "$(/bin/ls -A "${custom_script_dir}" 2>/dev/null)" ]; then echo "[custom-init] files found in ${custom_script_dir} executing" # Loop over files in the directory for SCRIPT in "${custom_script_dir}"/*; do NAME="$(basename "${SCRIPT}")" if [ -f "${SCRIPT}" ]; then echo "[custom-init] ${NAME}: executing..." - /usr/bin/bash "${SCRIPT}" + /bin/bash "${SCRIPT}" echo "[custom-init] ${NAME}: exited $?" elif [ ! -f "${SCRIPT}" ]; then echo "[custom-init] ${NAME}: is not a file"