diff options
author | sbd <sbd@pkgsrc.org> | 2012-05-11 10:01:58 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-05-11 10:01:58 +0000 |
commit | 31c527f5b78b25be209224ab3110dbc157c659b7 (patch) | |
tree | 4058680df94c202980582d40c322ef66653433d6 | |
parent | f26f130a7d31493b2965d2dab8a85686491b103a (diff) | |
download | pkgsrc-31c527f5b78b25be209224ab3110dbc157c659b7.tar.gz |
Use gzip in stdout mode so that the output file is created even with the
'unexpected end of file' error.
-rw-r--r-- | devel/ruby-rake/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/ruby-rake/Makefile b/devel/ruby-rake/Makefile index a9c34f62bb8..98cf077bd4f 100644 --- a/devel/ruby-rake/Makefile +++ b/devel/ruby-rake/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2012/03/17 13:57:59 taca Exp $ +# $NetBSD: Makefile,v 1.3 2012/05/11 10:01:58 sbd Exp $ DISTNAME= rake-0.9.2.2 CATEGORIES= devel @@ -38,7 +38,7 @@ RAKE_SPEC= ${GEM_HOME}/specifications/${GEM_NAME}.gemspec # rake.1.gz has one extra byte at EOF. pre-configure: - cd ${WRKSRC}/doc && (gzip -d rake.1.gz 2>/dev/null || ${TRUE}) + cd ${WRKSRC}/doc && (gzip -dc rake.1.gz >rake.1 2>/dev/null || ${TRUE}) cd ${WRKSRC}; ${CHMOD} -x ${FIX_PERM} cd ${WRKSRC}/bin && ${MV} rake ${RAKEBIN} |