summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2011-11-10 10:54:49 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:18:24 -0700
commitb2b7a142e5064081e935198980864f850909fcb5 (patch)
tree454a8edb1456487d4069af3c215783f57c046e7f /setup_environment
parent8a7798388b2e7d6b7c162f3f5ac46612d7108b75 (diff)
Adding back the whitespace. Comparison is broken without it.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10877]
Diffstat (limited to 'setup_environment')
-rw-r--r--setup_environment4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_environment b/setup_environment
index a768065..8fde2bd 100644
--- a/setup_environment
+++ b/setup_environment
@@ -38,9 +38,9 @@ export PATH=$GPGPUSIM_ROOT/bin:$CUDA_INSTALL_PATH/bin:$PATH
# SSH to remote node to generate PTX for OpenCL kernels when running on
# a node that does not have an NVIDIA driver installed.
# The remote node should have GPGPU-Sim installed at the same path
-if [ `hostname -d`="ece.ubc.ca" ]; then
+if [ `hostname -d` = "ece.ubc.ca" ]; then
export OPENCL_REMOTE_GPU_HOST=aamodt-pc05.ece.ubc.ca
- if [ `hostname -f`=$OPENCL_REMOTE_GPU_HOST ]; then
+ if [ `hostname -f` = $OPENCL_REMOTE_GPU_HOST ]; then
unset OPENCL_REMOTE_GPU_HOST
fi
fi