From d1eb4ac1ca5dbcfe23a797f0d574a77ec8062923 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 30 Dec 2017 11:32:09 +0100 Subject: [PATCH] Now passes the arguments to the other side. --- xremote.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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