Local Variables Override

Installation and configuration.
Post Reply
User avatar
ITdreamer
Posts: 2
Joined: Tue Oct 31, 2017 1:13 pm

Local Variables Override

Post by ITdreamer » Tue Oct 31, 2017 1:22 pm

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.

User avatar
timurhai
Site Admin
Posts: 262
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Local Variables Override

Post by timurhai » Tue Oct 31, 2017 3:16 pm

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.
Timur Hairulin
CGRU 2.2.3 Ubuntu 14.04LTS (gcc4.8.4)

User avatar
ITdreamer
Posts: 2
Joined: Tue Oct 31, 2017 1:13 pm

Re: Local Variables Override

Post by ITdreamer » Tue Oct 31, 2017 6:01 pm

Ah! That's it

Wrong folder.

Thanks a lot!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests