From 4f87f3bf4ada67f7041c58af91073ce7062ac493 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Dec 2016 09:14:33 +0100 Subject: irc-announce: mktemp --tmpdir --- krebs/5pkgs/irc-announce/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs') diff --git a/krebs/5pkgs/irc-announce/default.nix b/krebs/5pkgs/irc-announce/default.nix index f02cec3c6..e1f4919d5 100644 --- a/krebs/5pkgs/irc-announce/default.nix +++ b/krebs/5pkgs/irc-announce/default.nix @@ -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 " -- cgit v1.2.3