From 24a138dd0bbce8b7e957def8be90fd7a84d03c82 Mon Sep 17 00:00:00 2001 From: Daniel Nashed Date: Tue, 12 Mar 2024 19:53:41 +0000 Subject: [PATCH] fix for a small install script dir issue --- install_domino.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install_domino.sh b/install_domino.sh index 26f419b..c97c54f 100755 --- a/install_domino.sh +++ b/install_domino.sh @@ -891,12 +891,12 @@ find_scripts() SEARCH_DIR=$(dirname "$START_SCRIPT_DIR")/domino-container fi - if [ -z "$BUILD_SCRIPT" ]; then - BUILD_SCRIPT=$(find "$SEARCH_DIR" -maxdepth 2 -name "build.sh") + if [ -z "$CONTAINER_SCRIPT_DIR" ]; then + CONTAINER_SCRIPT_DIR=$(find "$SEARCH_DIR" -type d -name "domino-container*") fi - if [ -n "$BUILD_SCRIPT" ]; then - CONTAINER_SCRIPT_DIR="$(dirname $BUILD_SCRIPT)" + if [ -n "$CONTAINER_SCRIPT_DIR" ]; then + BUILD_SCRIPT="$CONTAINER_SCRIPT_DIR/build.sh" fi }