From 44d7a5c0f9e9350e6d948961b718b2f5be2b1027 Mon Sep 17 00:00:00 2001 From: Eliminater74 Date: Tue, 31 Aug 2021 06:04:57 -0400 Subject: [PATCH] Update Fix --- entrypoint.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6efc764..7ec1178 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -52,14 +52,23 @@ mkdir -p "$CLONE_DIR/$TARGET_DIRECTORY" mv "$TEMP_DIR/.git" "$CLONE_DIR/.git" +echo "[+] Listing Current Directory Location" +ls -al +#echo "[+] Listing home+ Directory Location" +#ls -al /home/runner/work/Action_OpenWRT_AutoBuild_Linksys_Devices/Action_OpenWRT_AutoBuild_Linksys_Devices/openwrt +echo "[+] Listing root Location" +ls -al / +echo "[+] Listing /home Location" +ls -al /home -echo "[+] Changing to $SOURCE_BEFORE_DIRECTORY" -cd "$SOURCE_BEFORE_DIRECTORY" +# echo "[+] Changing to $SOURCE_BEFORE_DIRECTORY" +# cd "$SOURCE_BEFORE_DIRECTORY" -echo "[+] List contecnts of $SOURCE_DIRECTORY" +echo "[+] List contents of $SOURCE_DIRECTORY" ls "$SOURCE_DIRECTORY" +echo "[+] Checking if local $SOURCE_DIRECTORY exist" if [ ! -d "$SOURCE_DIRECTORY" ] then echo "ERROR: $SOURCE_DIRECTORY does not exist"