Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/rubymods
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10302

Modified Files:
        hoe-rb.info 
Log Message:
fix rdoc building on 1.9

Index: hoe-rb.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/rubymods/hoe-rb.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- hoe-rb.info 21 Aug 2013 11:34:05 -0000      1.1
+++ hoe-rb.info 21 Aug 2013 11:38:24 -0000      1.2
@@ -24,8 +24,13 @@
 CompileScript: echo ""
 
 InstallScript: <<
+       #!/bin/sh -ev
        install -d -m 755 %i/lib/ruby/gems/%type_raw[ruby]
-       %p/bin/gem%type_raw[ruby] install --local --force --install-dir 
%i/lib/ruby/gems/%type_raw[ruby] --document rdoc hoe-%v.gem
+       if [ "%type_raw[ruby]" == "2.0" ]; then
+               %p/bin/gem%type_raw[ruby] install --local --force --install-dir 
%i/lib/ruby/gems/%type_raw[ruby] --document rdoc hoe-%v.gem
+       else
+               %p/bin/gem%type_raw[ruby] install --local --force --install-dir 
%i/lib/ruby/gems/%type_raw[ruby] --rdoc hoe-%v.gem
+       fi
        rm -rf %i/var/lib/gems/%type_raw[ruby]/cache
 #      mv %i/var/lib/gems/%type_raw[ruby]/bin %i/
 <<


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to