Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove spurious brace from error message.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 14 Feb 2013 22:45:29 +0000 (23:45 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 14 Feb 2013 22:45:29 +0000 (23:45 +0100)
src/smpi/smpirun.in

index 59ff85d..74ffb3c 100755 (executable)
@@ -240,7 +240,7 @@ if [ "${EXTOPT}" = "smpi_replay" ]; then
      hosttraces=(`cat ${APP_TRACES} | tr \\\n " "`)
      NUMTRACES=`cat ${APP_TRACES} | wc -l`
   else
-     printf "File not found: %s\n", "${APP_TRACES:-\${APP_TRACES}}" >&2
+     printf "File not found: %s\n", "${APP_TRACES:-\${APP_TRACES\}}" >&2
      exit 1
   fi
 fi