From fbccc58abece3004b7d4912d5df331292db6dcaf Mon Sep 17 00:00:00 2001 From: Charadon Date: Thu, 14 Jul 2022 04:16:22 -0400 Subject: Fixed portability issue, and made git only clone the most recent commit with no history. --- config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.sh') diff --git a/config.sh b/config.sh index c78e95e..321235b 100644 --- a/config.sh +++ b/config.sh @@ -7,7 +7,7 @@ DSCIP_GITREPO="https://www.example.com/example/example.git" DSCIP_GITMODE="clone" # Branch to check # DSCIP_BRANCH="master" -WORKING_DIRECTORY="$(dirname $(realpath $0))" +WORKING_DIRECTORY="$(pwd -P)" # Commands to run before building. # DSCIP_PRE_CMD="$WORKING_DIRECTORY/pre.sh" # Commands to run to build program. # -- cgit 1.4.1-2-gfad0