summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy304-driver/nvidia-switch
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy304-driver/nvidia-switch')
-rw-r--r--system/nvidia-legacy304-driver/nvidia-switch2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/nvidia-legacy304-driver/nvidia-switch b/system/nvidia-legacy304-driver/nvidia-switch
index 242464cdd0..0681d52693 100644
--- a/system/nvidia-legacy304-driver/nvidia-switch
+++ b/system/nvidia-legacy304-driver/nvidia-switch
@@ -30,7 +30,7 @@
set -e
-ROOT="/"
+ROOT="${ROOT:-/}"
CWD=$(pwd)
LIBSUFFIX="LIBDIRSUFFIX" # This will be replaced in the build script
COMPAT32="LIB32FLAG" # This will be replaced in the build script (yes | no)