summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-12 23:20:50 +0100
committertv <tv@krebsco.de>2016-02-12 23:20:50 +0100
commitc338330f066e3fe6903158ad6536d71a70cf1daa (patch)
treee22b83c64eb5fbf9ba0e0e037565b4a49f5deab9
parent1497ee718256ff48c65ebcb0ddea633c6628eb69 (diff)
make install: make ssh configurable
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f39ed0c02..a25b90771 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ eval eval.:;@$(call evaluate)
eval.%:;@$(call evaluate,-A $*)
# usage: make install system=foo [target_host=bar]
-install: ssh = ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
+install: ssh ?= ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
install:
$(ssh) $(target_user)@$(target_host) \
env target_path=$(target_path) \