logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 19b2637c5165d98775d79b156475b2038c25e127
parent 134f3bff6702333ea4b7d2e0e82391bbdf9c727e
Author: tusooa <tusooa@kazv.moe>
Date:   Sat, 25 May 2024 00:54:17 +0000

Merge branch 'bugfix/realpath-over-readlink' into 'develop'

pleroma_ctl: Use realpath(1) instead of readlink(1)

See merge request pleroma/pleroma!4118

Diffstat:

Achangelog.d/realpath-over-readlink.fix1+
Mrel/files/bin/pleroma_ctl2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/changelog.d/realpath-over-readlink.fix b/changelog.d/realpath-over-readlink.fix @@ -0,0 +1 @@ +pleroma_ctl: Use realpath(1) instead of readlink(1) diff --git a/rel/files/bin/pleroma_ctl b/rel/files/bin/pleroma_ctl @@ -134,7 +134,7 @@ if [ -z "$1" ] || [ "$1" = "help" ]; then " else - SCRIPT=$(readlink -f "$0") + SCRIPT=$(realpath "$0") SCRIPTPATH=$(dirname "$SCRIPT") FULL_ARGS="$*"