groff: (nitpick) quote shell variables

This commit is contained in:
Vladimír Čunát 2017-07-05 09:33:39 +02:00
parent 7b7eb577a2
commit 1db1ba9048
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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