From: Francois Fleuret Date: Sat, 30 Dec 2017 10:32:09 +0000 (+0100) Subject: Now passes the arguments to the other side. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=d1eb4ac1ca5dbcfe23a797f0d574a77ec8062923;p=xremote.git Now passes the arguments to the other side. --- diff --git a/xremote.sh b/xremote.sh index ce16636..cd6813c 100755 --- a/xremote.sh +++ b/xremote.sh @@ -81,6 +81,8 @@ main="$(basename "$1")" cd "$(dirname "$1")" +shift + trap cleanup_remote_tmp EXIT ###################################################################### @@ -142,7 +144,15 @@ else REMOTE_COMMAND="./${main}" fi -ssh