From 367c27616313f66904b570eacb895b4a9fcb19c7 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 30 Sep 2024 00:03:47 +0200 Subject: [PATCH] Updating run script --- run_all.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run_all.sh b/run_all.sh index 0de50c3..6a06a34 100755 --- a/run_all.sh +++ b/run_all.sh @@ -22,6 +22,9 @@ # along with this program. If not, see . echo "" + +set +o history + # Cd into the directory of the library script="$(readlink $0)" if [ -z "$script" ]; then script="$0"; fi @@ -76,7 +79,7 @@ $full_script" echo "$full_script" | ssh -q $host -p $port "tee run.sh" 1>/dev/null info "Transmitted script" # Run and remove it. - ssh -t $host -p $port PASSWORD="$pswd" "bash run.sh && rm run.sh" + ssh $host -p $port PASSWORD="$pswd" "bash run.sh && rm run.sh" ## Interactive shell does not work. #ssh -t $host PASSWORD="$pswd" "bash -i run.sh && rm run.sh" rm tmp.sh