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
bashism -- (fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772329 )
[simgrid.git]
/
src
/
smpi
/
smpirun.in
diff --git
a/src/smpi/smpirun.in
b/src/smpi/smpirun.in
index
5b588bf
..
67e4624
100755
(executable)
--- a/
src/smpi/smpirun.in
+++ b/
src/smpi/smpirun.in
@@
-343,9
+343,9
@@
if [ -n "${HAVE_SEQ}" ]; then
SEQ=`${HAVE_SEQ} 0 $((${NUMPROCS}-1))`
else
cnt=0
- while
(( $cnt < ${NUMPROCS} ))
; do
- SEQ="$SEQ $cnt"
- cnt=$((cnt + 1));
+ while
[ $cnt -lt ${NUMPROCS} ]
; do
+
SEQ="$SEQ $cnt"
+
cnt=$((cnt + 1));
done
fi