mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 13:59:47 +01:00
script/pbot: use $RealBin so symlinking works
This commit is contained in:
parent
f5232879e3
commit
329709ab4c
10
script/pbot
10
script/pbot
@ -7,14 +7,14 @@
|
||||
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use lib "$Bin/../lib";
|
||||
use FindBin qw($RealBin);
|
||||
use lib "$RealBin/../lib";
|
||||
use lib "$ENV{HOME}/.pbot";
|
||||
|
||||
use PBot::PBot;
|
||||
|
||||
PBot::PBot->new(
|
||||
data_dir => "$Bin/../data",
|
||||
module_dir => "$Bin/../modules",
|
||||
update_dir => "$Bin/../updates",
|
||||
data_dir => "$RealBin/../data",
|
||||
module_dir => "$RealBin/../modules",
|
||||
update_dir => "$RealBin/../updates",
|
||||
)->start;
|
||||
|
Loading…
Reference in New Issue
Block a user