.homedir-push.sh

changeset 248
6aef60121f57
parent 247
c0035582fdd7
--- a/.homedir-push.sh
+++ b/.homedir-push.sh
@@ -1,4 +1,6 @@
 #!/bin/sh
 set -eu
 
-hg archive -t tgz -p . - | ssh $1 tar xzv
+TARGET=$1
+
+hg archive -t tgz -p . - | ssh $TARGET tar xzv

mercurial