]> git.sur5r.net Git - bacula/bacula/commitdiff
bweb: fix problem with lighttpd startup script
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 19 Aug 2009 09:43:52 +0000 (11:43 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 22 Sep 2009 09:01:32 +0000 (11:01 +0200)
gui/bweb/script/starthttp

index 597734cc051357373243d1db90360fa4d7202a6e..be0e5f3b33a22780e50f7df45109588c88de1eb2 100755 (executable)
@@ -27,7 +27,7 @@ fi
 if [ ! -f $BWEBBASE/bweb.conf ]; then
     echo "Making configuration template in $BWEBBASE/bweb.conf"
     cat > $BWEBBASE/bweb.conf <<EOF
-\$VAR1 = { template_dir => '$PWD/lang',
+\$VAR1 = { template_dir => '$BWEBBASE/lang',
            bconsole => 'bconsole -n',
            fv_write_path => '/tmp/',
  };