A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
loba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document correction for known bug.
[loba.git]
/
colorized-loba
diff --git
a/colorized-loba
b/colorized-loba
index 6abc53cdd018e14d34c796bf75a345c66a208d51..325a2d8212add586ad64761c0c8f518224642bbb 100755
(executable)
--- a/
colorized-loba
+++ b/
colorized-loba
@@
-1,3
+1,8
@@
#!/bin/sh
#!/bin/sh
-exec ./loba "$@" -v 2>&1 | ./simgrid-stable/bin/simgrid-colorizer - | less -R
+loba=${LOBA:-./loba}
+path=$(ldd "$loba" | sed '/libsimgrid/!d;s/.*=> \(.*\)\/lib\/libsimgrid.*/\1/')
+: ${path:="./simgrid-stable"}
+colorizer="$path/bin/simgrid-colorizer"
+
+exec "$loba" "$@" -v 2>&1 | "$colorizer" - | less -R