summaryrefslogtreecommitdiffstats
path: root/scripts/bugzilla_quantum
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-20 00:45:58 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commitf5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b (patch)
tree055fdfc7e03b9e6577f1f7fa833f7a29bb81ded2 /scripts/bugzilla_quantum
parent723767dc121db1047e1803998ddbbc6c343b1064 (diff)
downloadbugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.gz
bugzilla-f5a81daeeb16c6f64475f3a48b8ea5eb0ec84c9b.tar.xz
run mojolicious daemon instead of httpd
Diffstat (limited to 'scripts/bugzilla_quantum')
-rwxr-xr-xscripts/bugzilla_quantum7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/bugzilla_quantum b/scripts/bugzilla_quantum
index 1112faabd..9069a2f05 100755
--- a/scripts/bugzilla_quantum
+++ b/scripts/bugzilla_quantum
@@ -4,14 +4,15 @@ use strict;
use warnings;
use File::Basename qw(basename dirname);
-use File::Spec::Functions qw(catdir rel2abs);
+use File::Spec::Functions qw(catdir);
+use Cwd qw(realpath);
BEGIN {
require lib;
- my $dir = rel2abs( catdir(dirname(__FILE__), '..') );
+ my $dir = realpath( catdir(dirname(__FILE__), '..') );
lib->import( $dir, catdir( $dir, 'lib' ), catdir( $dir, qw(local lib perl5) ) );
}
use Mojolicious::Commands;
# Start command line interface for application
-Mojolicious::Commands->start_app('Bugzilla::Quantum'); \ No newline at end of file
+Mojolicious::Commands->start_app('Bugzilla::Quantum');