Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Rename variables from 'rank' to 'my_proc_id' in smpi_replay.cpp
[simgrid.git] / src / smpi / smpitools.sh
index d562d9e..40fcd3a 100644 (file)
@@ -69,5 +69,5 @@ list_set () {
 # $1: list
 # usage:  eval $(list_get list)
 list_get () {
-    printf 'IFS="$LISTSEP"; eval set -- \\$%s; IFS="$SAVEIFS"' "$1"
+    printf 'IFS="'\$'LISTSEP"; eval set -- \$%s; IFS="'\$'SAVEIFS"\n' "$1"
 }