Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / remote / ssh
index 2ebd542..b506244 100755 (executable)
@@ -1,5 +1,7 @@
-#!/bin/sh -eux
-tool=${0%/*}/..
+#!/bin/sh -eu
+tool=$(readlink -e "${0%/*}/..")
+. "$tool"/remote/lib.sh
+
 ssh \
  -o StrictHostKeyChecking=yes \
  -o UserKnownHostsFile="$tool"/etc/openssh/known_hosts \