From: Eric Bollengier Date: Wed, 19 Aug 2009 09:53:26 +0000 (+0200) Subject: bweb: permit relatif path to starthttp command X-Git-Tag: Release-5.0.0~332^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1caf8bb7924de2e6ae53d0984474d3e8dc525f3d;p=bacula%2Fbacula bweb: permit relatif path to starthttp command --- diff --git a/gui/bweb/script/starthttp b/gui/bweb/script/starthttp index be0e5f3b33..5fab8bc942 100755 --- a/gui/bweb/script/starthttp +++ b/gui/bweb/script/starthttp @@ -13,6 +13,9 @@ elif [ -f $PWD/../html/bweb.js ]; then elif [ -f $BASE/html/bweb.js ]; then BWEBBASE=$BASE +elif [ -f $BASE/../html/bweb.js ]; then + BWEBBASE=$(cd $BASE; dirname $(pwd)) + else echo "Can't determine bweb installation directory" exit 1