irc-announce: mktemp --tmpdir
This commit is contained in:
parent
bf4e2bd961
commit
4f87f3bf4a
@ -32,7 +32,7 @@ pkgs.writeDashBin "irc-announce" ''
|
||||
# ircin is used to feed the output of netcat back to the "irc client"
|
||||
# so we can implement expect-like behavior with sed^_^
|
||||
# XXX mkselfdestructingtmpfifo would be nice instead of this cruft
|
||||
tmpdir="$(mktemp -d irc-announce_XXXXXXXX)"
|
||||
tmpdir=$(mktemp --tmpdir -d irc-announce_XXXXXXXX)
|
||||
cd "$tmpdir"
|
||||
mkfifo ircin
|
||||
trap "
|
||||
|
Loading…
Reference in New Issue
Block a user