diff --git a/script/pbot b/script/pbot index 5e6ad256..4f13902f 100755 --- a/script/pbot +++ b/script/pbot @@ -7,14 +7,14 @@ # SPDX-FileCopyrightText: 2021 Pragmatic Software # 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;