Local Variables Override

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

Local Variables Override

Post 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.
User avatar
timurhai
Site Admin
Posts: 916
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Local Variables Override

Post 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.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
User avatar
ITdreamer
Posts: 15
Joined: Tue Oct 31, 2017 1:13 pm

Re: Local Variables Override

Post by ITdreamer »

Ah! That's it

Wrong folder.

Thanks a lot!
Post Reply