From 1caf8bb7924de2e6ae53d0984474d3e8dc525f3d Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 19 Aug 2009 11:53:26 +0200 Subject: [PATCH] bweb: permit relatif path to starthttp command --- gui/bweb/script/starthttp | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5