diff options
author | Xiao-Yong <jinxiaoyong@gmail.com> | 2018-11-16 09:14:02 -0600 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2018-11-16 10:14:02 -0500 |
commit | 74223e0b4fe2edc1e8aa9665f916603a9f14323d (patch) | |
tree | 66db9c83f562bc83749f69f2876b8c5b5dc83700 /unix/mkfile | |
parent | ad2d49503b1242be501ab92832400ef344a6afae (diff) | |
download | plan9port-74223e0b4fe2edc1e8aa9665f916603a9f14323d.tar.gz plan9port-74223e0b4fe2edc1e8aa9665f916603a9f14323d.tar.bz2 plan9port-74223e0b4fe2edc1e8aa9665f916603a9f14323d.zip |
unix: fix for tar on FreeBSD (#202)
Use the widely accepted /dev/stdout.
Diffstat (limited to 'unix/mkfile')
-rw-r--r-- | unix/mkfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unix/mkfile b/unix/mkfile index ab1e6628..1c4319c6 100644 --- a/unix/mkfile +++ b/unix/mkfile @@ -38,15 +38,15 @@ test-%:V: lib%.tgz:V: mk new-$stem - tar c lib$stem | gzip > $target + tar cf /dev/stdout lib$stem | gzip > $target libregexp9.tgz:V: mk new-regexp - tar c libregexp | gzip >$target + tar cf /dev/stdout libregexp | gzip >$target mk.tgz:V: mk new-mk - tar c mk | gzip > $target + tar cf /dev/stdout mk | gzip > $target mk-with-libs.tgz:V: mk new-utf @@ -59,7 +59,7 @@ mk-with-libs.tgz:V: mv libutf libfmt libbio libregexp mk zot mv zot mk cp make/Makefile.all mk/Makefile - tar c mk | gzip > $target + tar cf /dev/stdout mk | gzip > $target rm -r mk tgz:V: libutf.tgz libfmt.tgz libregexp9.tgz libbio.tgz mk.tgz mk-with-libs.tgz |