--- 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