From 9277d9c2cbf5a85a87fbcdf7f4ead45de887adb7 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Sun, 13 Nov 2011 19:02:08 -0800 Subject: Trying to fix the whitespace problem between ubuntu and opensuse [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10915] --- setup_environment | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup_environment') 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 -- cgit v1.3