QUestion about Environment variable and MacOS

   3254   5   2
User Avatar
Member
383 posts
Joined:
Offline
Hello,

I am using Houdini on WIndows 7 and set variable environment to change HOME location other path.

I would like to know how to do the same with macOSX.
I am not a Mac user so I am lost.

Any clue is welcome

Thanks

Vincent
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
279 posts
Joined: Dec. 2009
Offline
I'm not sure is a good thing to change $HOME in mac OS X. It's used by system.
What i do is create a personnal variable.

The best way is to edit/create in your home folder a file named .bash_profile like this:

MY_VAR=“your_path”
export MY_VAR
Cheers
User Avatar
Member
383 posts
Joined:
Offline
hmm ok …

The main goal for me to change the HOME on Windows was to create a custom folder to put config files and dso and otl folders.

What could be the way to do this on MAcOS ?

Thx
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
279 posts
Joined: Dec. 2009
Offline
You can edit Houdini Shell.terminal in you houdini folder.

Line 15<string>cd /Library/Frameworks/Houdini.framework/Versions/12.5.483/Resources;source houdini_setup</string>

to this:<string>cd /Library/Frameworks/Houdini.framework/Versions/12.5.483/Resources;source houdini_setup;export HOME=“your_path”</string>
User Avatar
Member
383 posts
Joined:
Offline
I'll try that

Merci mec !
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
279 posts
Joined: Dec. 2009
Offline
I forgotten something…

In os X, Houdini setup config files are here:
$HOME/Library/Preferences/houdini/12.X
Remember this works only if you launch Houdini with Houdini Shell.terminal

De rien !
  • Quick Links