diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-14 10:34:57 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-14 14:20:31 +0200 |
commit | a0386a1ddade88187b415ba7a54906b28a021310 (patch) | |
tree | 56e13572c0334facf451c75082a7d48c83febab2 | |
parent | 31a3bbafb41b3696077881b779f94d6f4cafb436 (diff) | |
download | rtty-a0386a1ddade88187b415ba7a54906b28a021310.tar.gz |
rd: Remove named pipes at start
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | r (renamed from r.sh) | 0 | ||||
-rwxr-xr-x | rd | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..de5bec0 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +install: + install r rd /usr/local/bin @@ -2,6 +2,6 @@ in=/var/tmp/r.in out=/var/tmp/r.out +rm $in $out 2>/dev/null mkfifo $in $out -#trap "rm $in $out" EXIT <$in 2>&1 >$out ssh "$@" |