<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Discussion</title><link href="https://sourceforge.net/p/nqxml/discussion/" rel="alternate"/><link href="https://sourceforge.net/p/nqxml/discussion/feed.atom" rel="self"/><id>https://sourceforge.net/p/nqxml/discussion/</id><updated>2015-10-10T16:08:03.040000Z</updated><subtitle>Recent posts to Discussion</subtitle><entry><title>Install script update (1.1.3p1)</title><link href="https://sourceforge.net/p/nqxml/discussion/104467/thread/745e6231/" rel="alternate"/><published>2015-10-10T16:08:03.040000Z</published><updated>2015-10-10T16:08:03.040000Z</updated><author><name>Anthony Vanover</name><uri>https://sourceforge.net/u/givemeanthony/</uri></author><id>https://sourceforge.nete1491405132ead4c29253b0f937fdb6fbd3af497</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There were a few changes I needed to make with the install script for version 1.1.3p1. Below is a patch file I made with my changes.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="gd"&gt;--- install.rb  2001-08-10 12:40:27.000000000 -0700&lt;/span&gt;
&lt;span class="gi"&gt;+++ install-new.rb  2015-10-10 08:50:42.000000000 -0700&lt;/span&gt;
&lt;span class="gu"&gt;@@ -19,7 +19,7 @@&lt;/span&gt;
 =end

 require 'getoptlong'
&lt;span class="gd"&gt;-require 'ftools'&lt;/span&gt;
&lt;span class="gi"&gt;+require 'fileutils'&lt;/span&gt;
 require 'find'

 SOURCE_DIR = 'nqxml'
&lt;span class="gu"&gt;@@ -37,9 +37,9 @@&lt;/span&gt;

     begin
    require 'rbconfig'
&lt;span class="gd"&gt;-   libdir = Config::CONFIG['sitedir'] + "/" + &lt;/span&gt;
&lt;span class="gd"&gt;-       Config::CONFIG['MAJOR'] + "." +&lt;/span&gt;
&lt;span class="gd"&gt;-       Config::CONFIG['MINOR']&lt;/span&gt;
&lt;span class="gi"&gt;+   libdir = RbConfig::CONFIG['sitedir'] + "/" + &lt;/span&gt;
&lt;span class="gi"&gt;+       RbConfig::CONFIG['MAJOR'] + "." +&lt;/span&gt;
&lt;span class="gi"&gt;+       RbConfig::CONFIG['MINOR']&lt;/span&gt;
     rescue ScriptError
    $LOAD_PATH.each do |l|
        if l =~ /site_ruby/ &amp;amp;&amp;amp; l =~ /\d$/ &amp;amp;&amp;amp; l !~ /#{PLATFORM}/
&lt;span class="gu"&gt;@@ -55,7 +55,7 @@&lt;/span&gt;
 end

 INSTALL_DIR = instdir()
&lt;span class="gd"&gt;-File.makedirs(File.join(INSTALL_DIR, LIBDIR))&lt;/span&gt;
&lt;span class="gi"&gt;+FileUtils.makedirs(File.join(INSTALL_DIR, LIBDIR))&lt;/span&gt;
 Find.find(SOURCE_DIR) { |f|
&lt;span class="gd"&gt;-    File.install(f, File.join(INSTALL_DIR, f), 0644, true) if f =~ /.rb$/&lt;/span&gt;
&lt;span class="gi"&gt;+    FileUtils.install(f, File.join(INSTALL_DIR, f), :mode =&amp;gt; 0644, :verbose =&amp;gt; true) if f =~ /.rb$/&lt;/span&gt;
 }
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Copy and save this as "patch.diff" and apply the patch from Terminal in the same directory with "patch &amp;lt; patch.diff".&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>