summaryrefslogtreecommitdiff
path: root/scripts/git
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-07-09 17:12:37 -0400
committerNick Mathewson <nickm@torproject.org>2020-07-09 17:12:37 -0400
commit18391f689ea11b064a9313be8824834df8be2a9e (patch)
treec2768c4776e2da36732b89971000b7031277f460 /scripts/git
parent7b24d56accfac9532bc760bca51a64c8462e2ab7 (diff)
downloadtor-18391f689ea11b064a9313be8824834df8be2a9e.tar.gz
tor-18391f689ea11b064a9313be8824834df8be2a9e.zip
git-install-tools: use -b, not --backup.
The osx version of this tool doesn't have --backup
Diffstat (limited to 'scripts/git')
-rwxr-xr-xscripts/git/git-install-tools.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/git/git-install-tools.sh b/scripts/git/git-install-tools.sh
index ef8623a018..3b9c3d79f3 100755
--- a/scripts/git/git-install-tools.sh
+++ b/scripts/git/git-install-tools.sh
@@ -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