[Sidefx-houdini-list] insert mid HOUDINI_PATH

Dan Schneider eyevex at yahoo.com
Thu Apr 25 13:04:42 EDT 2013


Seems similar to what I had failing, where using $HSITE in HOUDINI_PATH explicitly was failin. Unless I'm missing a key differance? 


________________________________
 From: Frederic Servant <frederic.servant at gmail.com>
To: sidefx-houdini-list at sidefx.com; Dan Schneider <eyevex at yahoo.com> 
Sent: Thursday, April 25, 2013 11:13 AM
Subject: Re: [Sidefx-houdini-list] insert mid HOUDINI_PATH
 


Yes, HSITE is not used if you you set the HOUDINI_PATH yourself. 

How about setting HOUDINI_PATH in a wrapper script such as this one:

#!/bin/bash

cd /my/houdini/location
source houdini_setup
cd - &> /dev/null

export HOUDINI_PATH="/foo/bar:$HIH:$HSITE:$HH"


${HB}/houdini $*

--
Fred





On Thu, Apr 25, 2013 at 3:16 PM, Dan Schneider <eyevex at yahoo.com> wrote:

So other than the short answer of "genraly don't do it ;)" ....
>
>I need to insert a location mid HOUDINI_PATH and also use HSITE so that..
>
>$HIP:$HIH:$HSITE:$HH becomes $HIP:/foo/bar:$HIH:$HSITE:$HH
>
>so all in /foo/bar/hoidiniXX.yy always takes priority over all except $HIP
>As, of so far easier said than done. $HSITE seems to be some kind of special variable (?)..
>
>- If I set $HSITE, all works as expected without foo/bar
>
>- however, if I attempt to insert it by explicitly setting HOUDINI_PATH utilizing variable expansion or explicitly in the shell before launch, as above... all work as expected EXCEPT $HSITE seems unuused (although I can grap the path via hython or windows-->shell or the launching shell and it is set and expanded correctly.
>
>- and of course if I prepend the default '&', I end up with $HIP in HOUDINI_PATH 2xs -- also no god.
>
>Any ideas?
>-Dan
>
>
>(|;-D>
>_______________________________________________
>Sidefx-houdini-list mailing list
>Sidefx-houdini-list at sidefx.com
>https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>


More information about the Sidefx-houdini-list mailing list