summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortgrogers <[email protected]>2018-06-30 23:25:20 -0400
committertgrogers <[email protected]>2018-06-30 23:25:20 -0400
commit5a6957fa2a45cd1856550e9426cb6bd743f19e98 (patch)
tree13d0ea58b80279d090afc94e441ce1b7b87316ff
parent7e9cec6110e6ef6fca378817af774a55a1c19b6e (diff)
oops - you should set this if it does not exist, not the other way around...
-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 "";