Skip to content

Instantly share code, notes, and snippets.

@julik
Created June 28, 2012 07:40
Show Gist options
  • Save julik/3009725 to your computer and use it in GitHub Desktop.
Save julik/3009725 to your computer and use it in GitHub Desktop.
Conditionally configure Nuke's cache path
# Use the RAID for caches if available
RAID = "/Volumes/FASZT"
if os.path.exists(RAID):
os.environ["NUKE_TEMP_DIR"] = RAID + "/NukeCache"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment