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
jenkins: try to disable CMAKE_DISABLE_SOURCE_CHANGES=ON on CMake 3.11
[simgrid.git]
/
src
/
smpi
/
smpitools.sh
diff --git
a/src/smpi/smpitools.sh
b/src/smpi/smpitools.sh
index a8fc1a339c5a25744f93cee38d66eb8bc0001d9a..e40e14476e2ac9ab3f49bc7d63a903a37380206f 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"
}
}