summaryrefslogtreecommitdiff
path: root/homebrew/autossh/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/autossh/patches.sh')
-rwxr-xr-xhomebrew/autossh/patches.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/homebrew/autossh/patches.sh b/homebrew/autossh/patches.sh
new file mode 100755
index 000000000..db9a453e8
--- /dev/null
+++ b/homebrew/autossh/patches.sh
@@ -0,0 +1,13 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+diff --git a/rscreen b/rscreen
+index f0bbced..ce232c3 100755
+--- a/rscreen
++++ b/rscreen
+@@ -23,4 +23,4 @@ fi
+ #AUTOSSH_PATH=/usr/local/bin/ssh
+ export AUTOSSH_POLL AUTOSSH_LOGFILE AUTOSSH_DEBUG AUTOSSH_PATH AUTOSSH_GATETIME AUTOSSH_PORT
+
+-autossh -M 20004 -t $1 "screen -e^Zz -D -R"
++autossh -M 20004 -t $1 "screen -D -R"
+EOF