Skip to content

Commit

Permalink
fix for a small install script dir issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Nashed committed Mar 12, 2024
1 parent 70175d3 commit 24a138d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install_domino.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 24a138d

Please sign in to comment.