diff options
author | Charadon <dev@iotib.net> | 2022-07-14 04:16:22 -0400 |
---|---|---|
committer | Charadon <dev@iotib.net> | 2022-07-14 04:16:22 -0400 |
commit | fbccc58abece3004b7d4912d5df331292db6dcaf (patch) | |
tree | 8a45ff1e08ebb2da4e63bbb5f43817117b79698a /config.sh | |
parent | f45c47112bd5561dc74797bc7bac02dc59d92bda (diff) | |
download | dscip-fbccc58abece3004b7d4912d5df331292db6dcaf.tar.gz |
Fixed portability issue, and made git only clone the most recent commit with no history.
Diffstat (limited to 'config.sh')
-rw-r--r-- | config.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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. # |