From: Arnaud Giersch Date: Mon, 7 Mar 2011 11:05:26 +0000 (+0100) Subject: Make colorized-loba obey to LOBA environment variable. X-Git-Tag: v0.1~92 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/d430c899e4d1a1a142f3ff97c38fa3e97ef3c137?ds=sidebyside Make colorized-loba obey to LOBA environment variable. --- diff --git a/colorized-loba b/colorized-loba index 1f20b07..325a2d8 100755 --- a/colorized-loba +++ b/colorized-loba @@ -1,6 +1,6 @@ #!/bin/sh -loba=./loba +loba=${LOBA:-./loba} path=$(ldd "$loba" | sed '/libsimgrid/!d;s/.*=> \(.*\)\/lib\/libsimgrid.*/\1/') : ${path:="./simgrid-stable"} colorizer="$path/bin/simgrid-colorizer"