<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: checkinstall scripts PATH set wrong in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017326#M763313</link>
    <description>There is nothing to "fix".  SD control scripts can't assume any paths exists other than what it supplies.  You can use absolute paths if you know that path is mounted.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;so in order to test them on the commandline I need to set these variables.  Is there a way to see what variables that swinstall sets?&lt;BR /&gt;&lt;BR /&gt;Right, I've wanted to do that.  Make sure you use sh and not ksh.&lt;BR /&gt;Well, you could use env(1) (/usr/bin/env) to list them all.  But they are documented in Software Distributor Administration Guide:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/oshpux11iv2.html#Installing%20and%20Updating" target="_blank"&gt;http://docs.hp.com/en/oshpux11iv2.html#Installing%20and%20Updating&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90979/ch11s04.html#d0e30149" target="_blank"&gt;http://docs.hp.com/en/B2355-90979/ch11s04.html#d0e30149&lt;/A&gt;</description>
    <pubDate>Thu, 07 Dec 2006 00:24:08 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2006-12-07T00:24:08Z</dc:date>
    <item>
      <title>checkinstall scripts PATH set wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017322#M763309</link>
      <description>OK after patching my system yesterday and forcing to ignore the checkinstall script for the main package I needed I decided to do more investigating as to what is going wrong&lt;BR /&gt;I put an echo into the script to find out what its PATH is set to&lt;BR /&gt;I added the line "echo path= $PATH"&lt;BR /&gt;and here is the output that gave&lt;BR /&gt;path= :/usr/sbin:/usr/lbin/sw&lt;BR /&gt;so it only appears to be looking in /usr/sbin for any real commands I think this is happening for all checkinstall scripts so I would like to fix this issue.</description>
      <pubDate>Wed, 06 Dec 2006 11:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017322#M763309</guid>
      <dc:creator>Jeff Sadowski_2</dc:creator>
      <dc:date>2006-12-06T11:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: checkinstall scripts PATH set wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017323#M763310</link>
      <description>Shalom Jeff,&lt;BR /&gt;&lt;BR /&gt;I'd look at /etc/profile or .profile because patching rarely if ever changes the location of files or the environment variables. More likely , this is a fault in the system environment.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 06 Dec 2006 12:18:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017323#M763310</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-12-06T12:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: checkinstall scripts PATH set wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017324#M763311</link>
      <description>seeing &lt;BR /&gt;&lt;BR /&gt;UTILS="/usr/lbin/sw/control_utils"&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;. $UTILS&lt;BR /&gt;&lt;BR /&gt;tells me to lookin&lt;BR /&gt;&lt;BR /&gt;/usr/lbin/sw/control_utils&lt;BR /&gt;for the issue&lt;BR /&gt;&lt;BR /&gt;looking at the line&lt;BR /&gt;PATH=${SW_PATH%:}:/usr/sbin:/usr/lbin/sw&lt;BR /&gt;&lt;BR /&gt;I see no metion of ${SW_PATH%:}&lt;BR /&gt;this looks kind of strange with the %: in there</description>
      <pubDate>Wed, 06 Dec 2006 12:47:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017324#M763311</guid>
      <dc:creator>Jeff Sadowski_2</dc:creator>
      <dc:date>2006-12-06T12:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: checkinstall scripts PATH set wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017325#M763312</link>
      <description>OK so it seems these scripts get environment variables from swinstall such as ${SW_PATH} and ${SW_ROOT} and such&lt;BR /&gt;so in order to test them on the commandline I need to set these variables.&lt;BR /&gt;Is there a way to see what variables that swinstall sets?</description>
      <pubDate>Wed, 06 Dec 2006 12:58:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017325#M763312</guid>
      <dc:creator>Jeff Sadowski_2</dc:creator>
      <dc:date>2006-12-06T12:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: checkinstall scripts PATH set wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017326#M763313</link>
      <description>There is nothing to "fix".  SD control scripts can't assume any paths exists other than what it supplies.  You can use absolute paths if you know that path is mounted.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;so in order to test them on the commandline I need to set these variables.  Is there a way to see what variables that swinstall sets?&lt;BR /&gt;&lt;BR /&gt;Right, I've wanted to do that.  Make sure you use sh and not ksh.&lt;BR /&gt;Well, you could use env(1) (/usr/bin/env) to list them all.  But they are documented in Software Distributor Administration Guide:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/oshpux11iv2.html#Installing%20and%20Updating" target="_blank"&gt;http://docs.hp.com/en/oshpux11iv2.html#Installing%20and%20Updating&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-90979/ch11s04.html#d0e30149" target="_blank"&gt;http://docs.hp.com/en/B2355-90979/ch11s04.html#d0e30149&lt;/A&gt;</description>
      <pubDate>Thu, 07 Dec 2006 00:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017326#M763313</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-12-07T00:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: checkinstall scripts PATH set wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017327#M763314</link>
      <description>The last response answered my question in full.</description>
      <pubDate>Thu, 07 Dec 2006 10:58:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checkinstall-scripts-path-set-wrong/m-p/5017327#M763314</guid>
      <dc:creator>Jeff Sadowski_2</dc:creator>
      <dc:date>2006-12-07T10:58:59Z</dc:date>
    </item>
  </channel>
</rss>

