From 329709ab4cdd19944b6fe222e4b7e6a0db5d79d2 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 16 Jul 2021 12:00:34 -0700 Subject: [PATCH] script/pbot: use $RealBin so symlinking works --- script/pbot | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;