A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SMPI] Remove code-generating macro
[simgrid.git]
/
src
/
smpi
/
smpitools.sh
diff --git
a/src/smpi/smpitools.sh
b/src/smpi/smpitools.sh
index
a8fc1a3
..
e40e144
100644
(file)
--- a/
src/smpi/smpitools.sh
+++ b/
src/smpi/smpitools.sh
@@
-1,6
+1,6
@@
-#!/
bin/
sh
+#!/
usr/bin/env
sh
-# Copyright (c) 2013-201
4
. The SimGrid Team.
+# Copyright (c) 2013-201
8
. The SimGrid Team.
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
@@
-69,5
+69,5
@@
list_set () {
# $1: list
# usage: eval $(list_get list)
list_get () {
# $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"
}
}