diff options
author | tv <tv@krebsco.de> | 2016-12-28 09:13:53 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-12-28 09:13:53 +0100 |
commit | bf4e2bd961b27d68e392cd1a53637b19feb887e4 (patch) | |
tree | 84ad879bd0ef65b9b86a67a9a6ae9d02f36fd365 /krebs | |
parent | 0d61093e18929e48ebfd984c1e0f2b6b1f0c6c58 (diff) |
Revert "k 5 irc-announce: cd to /tmp"
This reverts commit 3ecebca46f8924de9dd97bd79a1f0272f39d9ae6.
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/5pkgs/irc-announce/default.nix | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/krebs/5pkgs/irc-announce/default.nix b/krebs/5pkgs/irc-announce/default.nix index af6b35ec6..f02cec3c6 100644 --- a/krebs/5pkgs/irc-announce/default.nix +++ b/krebs/5pkgs/irc-announce/default.nix @@ -29,8 +29,6 @@ pkgs.writeDashBin "irc-announce" '' # privmsg_cat transforms stdin to a privmsg privmsg_cat() { awk '{ print "PRIVMSG "ENVIRON["IRC_CHANNEL"]" :"$0 }'; } - # we cd to /tmp here to be able to create a tmpdir in the first place - cd /tmp # 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 |