summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text/groff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-07-05 09:33:39 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-07-05 09:33:39 +0200
commit1db1ba9048483005ea86709cb33f23a946a990b5 (patch)
tree030a023a7f5df5f362760e987752463eb4d71472 /pkgs/tools/text/groff
parent7b7eb577a2220e6c745adbea0b0973c8a1b7d0a3 (diff)
groff: (nitpick) quote shell variables
Diffstat (limited to 'pkgs/tools/text/groff')
-rw-r--r--pkgs/tools/text/groff/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix
index 4e2f6af06694..fc6b1abf24dd 100644
--- a/pkgs/tools/text/groff/default.nix
+++ b/pkgs/tools/text/groff/default.nix
@@ -57,8 +57,8 @@ stdenv.mkDerivation rec {
# Remove example output with (random?) colors and creation date
# to avoid non-determinism in the output.
postInstall = ''
- rm $doc/share/doc/groff/examples/hdtbl/*color*ps
- find $doc/share/doc/groff/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
+ rm "$doc"/share/doc/groff/examples/hdtbl/*color*ps
+ find "$doc"/share/doc/groff/ -type f -print0 | xargs -0 sed -i -e 's/%%CreationDate: .*//'
for f in 'man.local' 'mdoc.local'; do
cat '${./site.tmac}' >>"$out/share/groff/site-tmac/$f"
done