mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
git-install-tools: use -b, not --backup.
The osx version of this tool doesn't have --backup
This commit is contained in:
parent
7b24d56acc
commit
18391f689e
@ -146,7 +146,7 @@ if [[ $INSTALL_HOOKS = 1 ]]; then
|
||||
note "Installing hooks"
|
||||
for fn in "$SCRIPTS_DIR"/*.git-hook; do
|
||||
name=$(basename "$fn")
|
||||
$RUN install --backup "$fn" "${HOOKS_DIR}/${name%.git-hook}"
|
||||
$RUN install -b "$fn" "${HOOKS_DIR}/${name%.git-hook}"
|
||||
done
|
||||
fi
|
||||
|
||||
@ -163,7 +163,7 @@ if [[ $INSTALL_TOOLS = 1 ]]; then
|
||||
|
||||
note "Copying scripts"
|
||||
for tool in "${TOOL_NAMES[@]}"; do
|
||||
$RUN install --backup "${SCRIPTS_DIR}/git-${tool}.sh" "${TOR_DEVTOOLS_DIR}/"
|
||||
$RUN install -b "${SCRIPTS_DIR}/git-${tool}.sh" "${TOR_DEVTOOLS_DIR}/"
|
||||
done
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user