From 7a84e4fb52e2c87bb57641c1b22a60e7adb80dcc Mon Sep 17 00:00:00 2001 From: Satyam Date: Sun, 16 Feb 2025 10:31:24 +0530 Subject: [PATCH] Refactor entrypoint.sh directory listing and conditional logic --- entrypoint.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 3149c4b..7094025 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -113,16 +113,16 @@ then echo "[+] Creating (now empty) $ABSOLUTE_TARGET_DIRECTORY" mkdir -p "$ABSOLUTE_TARGET_DIRECTORY" - - echo "[+] Listing Current Directory Location" - ls -al - - echo "[+] Listing root Location" - ls -al / - - mv "$TEMP_DIR/.git" "$CLONE_DIR/.git" fi +echo "[+] Listing Current Directory Location" +ls -al + +echo "[+] Listing root Location" +ls -al / + +mv "$TEMP_DIR/.git" "$CLONE_DIR/.git" + # if source directory is set if [ -n "$SOURCE_DIRECTORY" ] then