From 3b782f0cc4cc2f71f6a1e43372f4382e6adabfe3 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