diff options
author | jlam <jlam> | 2008-03-18 20:01:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-18 20:01:20 +0000 |
commit | 6af04e87a9286f1b3b74a970b1d63d7cf00023ce (patch) | |
tree | d3cae40ed269fb4148281bf658c48eac76d6d15e /misc | |
parent | 8646afadca1777b5602422e235b928b51572a7e1 (diff) | |
download | pkgsrc-6af04e87a9286f1b3b74a970b1d63d7cf00023ce.tar.gz |
Extract the gemspec file before the data.tar.gz so that we avoid any
possibility of a name collision with a file named "metadata".
Diffstat (limited to 'misc')
-rw-r--r-- | misc/rubygems/rubygem.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/rubygems/rubygem.mk b/misc/rubygems/rubygem.mk index 614cdfc7f8e..bd1e16a1770 100644 --- a/misc/rubygems/rubygem.mk +++ b/misc/rubygems/rubygem.mk @@ -1,4 +1,4 @@ -# $NetBSD: rubygem.mk,v 1.25 2008/03/18 16:35:52 jlam Exp $ +# $NetBSD: rubygem.mk,v 1.26 2008/03/18 20:01:20 jlam Exp $ # # This Makefile fragment is intended to be included by packages that build # and install Ruby gems. @@ -152,9 +152,9 @@ do-extract: gem-extract gem-extract: ${RUN} cd ${WRKDIR} && ${EXTRACTOR} -f tar ${_DISTDIR:Q}/${GEMFILE:Q} ${RUN} mkdir ${WRKSRC} - ${RUN} cd ${WRKSRC} && ${EXTRACTOR} -f tar ${WRKDIR:Q}/data.tar.gz ${RUN} cd ${WRKDIR} && ${EXTRACTOR} metadata.gz && \ mv metadata ${_GEMSPEC_FILE} + ${RUN} cd ${WRKSRC} && ${EXTRACTOR} -f tar ${WRKDIR:Q}/data.tar.gz ${RUN} cd ${WRKDIR} && rm -f data.tar.gz* metadata.gz* .endif |