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
Workaround shellcheck warning about $'s inside single quotes.
[simgrid.git]
/
src
/
smpi
/
smpitools.sh
diff --git
a/src/smpi/smpitools.sh
b/src/smpi/smpitools.sh
index
d562d9e
..
40fcd3a
100644
(file)
--- a/
src/smpi/smpitools.sh
+++ b/
src/smpi/smpitools.sh
@@
-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"
}