summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/man-pages-posix/manpages.rc2
-rw-r--r--rules.ninja2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/man-pages-posix/manpages.rc b/pkg/man-pages-posix/manpages.rc
index efcb823e..18faf96d 100644
--- a/pkg/man-pages-posix/manpages.rc
+++ b/pkg/man-pages-posix/manpages.rc
@@ -23,7 +23,7 @@ pages=()
for(d in man?p) {
mkdir -p $wd/$outdir/$d
for(f in $d/*) if(fs man-pages-posix share/man/$f.gz) {
- gzip -c -9 -n $f > $wd/$outdir/$f.gz
+ gzip -c -9 -n < $f > $wd/$outdir/$f.gz
pages=($pages $f)
}
}
diff --git a/rules.ninja b/rules.ninja
index 7f8dae5b..dc86e73c 100644
--- a/rules.ninja
+++ b/rules.ninja
@@ -45,7 +45,7 @@ rule mergeperms
command = sort -k 2 -m $in >$out.tmp && mv $out.tmp $out
rule gzip
- command = gzip -c -9 -n $in >$out.tmp && mv $out.tmp $out
+ command = gzip -c -9 -n <$in >$out.tmp && mv $out.tmp $out
rule yacc
command = oldcwd=$$PWD && cd $outdir && $yacc $yaccflags $$oldcwd/$in