Blob Blame History Raw
--- scalasca-2.4/src/utils/square.in~	2018-05-14 12:31:02.329844522 +0100
+++ scalasca-2.4/src/utils/square.in	2018-10-24 10:25:26.690077467 +0100
@@ -231,11 +231,10 @@
         exit 1
       fi
       # Determine remapper specification file
-      SCOREP_SPEC=
       if [ -n ${SCOREP_CONFIG} ]; then
         SCOREP_SPEC=`${SCOREP_CONFIG} --remap-specfile 2>/dev/null`
       fi
-      if [ -n "${SCOREP_SPEC}" -o ! -r "${SCOREP_SPEC}" ]; then
+      if [ -z "${SCOREP_SPEC}" -o ! -r "${SCOREP_SPEC}" ]; then
         if [ -n "${SCORER}" ]; then
           SCOREP_SPEC=`dirname ${SCORER}`/../share/scorep/scorep.spec
         fi