mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
guix: Avoid adding duplicate safe.directory
option
This commit is contained in:
parent
87c978605e
commit
187a4f1a0c
@ -25,8 +25,10 @@ if [[ ! -d "${SDK_PATH}/${XCODE_ARCHIVE}" ]]; then
|
||||
curl -L https://bitcoincore.org/depends-sources/sdks/${XCODE_ARCHIVE}.tar.gz | tar -xz -C "${SDK_PATH}"
|
||||
fi
|
||||
|
||||
# Avoid adding duplicate safe.directory option
|
||||
git config --global --fixed-value --get safe.directory "${WORKSPACE_PATH}" || git config --global --add safe.directory "${WORKSPACE_PATH}"
|
||||
|
||||
cd "${WORKSPACE_PATH}"
|
||||
git config --global --add safe.directory "${WORKSPACE_PATH}"
|
||||
git status >> /dev/null
|
||||
|
||||
export HOSTS="${HOSTS:-x86_64-linux-gnu aarch64-linux-gnu riscv64-linux-gnu
|
||||
|
Loading…
Reference in New Issue
Block a user