Page 1 of 1

Local Variables Override

Posted: Tue Oct 31, 2017 1:22 pm
by ITdreamer
Timur, hi

I've created the /opt/cgru/software_setup/setup_cg.sh

#!/bin/bash

export NUKE_TEMP_DIR=/mnt/$HOSTNAME/Temp/Nuke/nuke-u$UID

But after execution from keeper, Nuke still uses the default Temp directory /tmp/nuke

I can't understand why.

Re: Local Variables Override

Posted: Tue Oct 31, 2017 3:16 pm
by timurhai
Hi.
As i already told you, this script sources any setup_*.sh file(s) in the cgru root folder:
https://github.com/CGRU/cgru/blob/master/setup.sh#L25
Not in cgru/software_setup folder.
So you should use /opt/cgru/setup_cg.sh file.

Re: Local Variables Override

Posted: Tue Oct 31, 2017 6:01 pm
by ITdreamer
Ah! That's it

Wrong folder.

Thanks a lot!