summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2011-11-13 19:02:08 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:18:25 -0700
commit9277d9c2cbf5a85a87fbcdf7f4ead45de887adb7 (patch)
tree5ac7479dd58fce17a9b0d320beedc054b9a52b26 /setup_environment
parent2b3b80c03882974b7e126ee0197a8c3e71295aa7 (diff)
Trying to fix the whitespace problem between ubuntu and opensuse
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10915]
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 eeeb21b..7cd0855 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