summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-sci/singular/files/fake_ssh')
-rw-r--r--app-sci/singular/files/fake_ssh5
1 files changed, 5 insertions, 0 deletions
diff --git a/app-sci/singular/files/fake_ssh b/app-sci/singular/files/fake_ssh
new file mode 100644
index 000000000000..127c177760e3
--- /dev/null
+++ b/app-sci/singular/files/fake_ssh
@@ -0,0 +1,5 @@
+#!/bin/bash
+# strip hostname -n from command line
+runme="$(echo $@ | sed -e 's:.* -n \(.*\):\1:')"
+# do what -n should have done
+${runme} < /dev/null