summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_environment b/setup_environment
index 2dafba5..f1af978 100644
--- a/setup_environment
+++ b/setup_environment
@@ -137,7 +137,7 @@ else
echo "configured without a power model.";
fi
-if [ ! -z "$PTXAS_CUDA_INSTALL_PATH" ]; then
+if [ -z "$PTXAS_CUDA_INSTALL_PATH" ]; then
export PTXAS_CUDA_INSTALL_PATH=$CUDA_INSTALL_PATH;
fi
echo "";