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-3.0.3~56 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b782f0cc4cc2f71f6a1e43372f4382e6adabfe3;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