Refactor entrypoint.sh directory listing and conditional logic

This commit is contained in:
Satyam 2025-02-16 10:31:24 +05:30
parent fa622ad30b
commit 7a84e4fb52

View File

@ -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