From c161c36aad025c52168b919cbe5bbe1d5f4f26bd Mon Sep 17 00:00:00 2001 From: Jacob Date: Tue, 31 Dec 2024 09:03:50 +0800 Subject: [PATCH] Fixed muOS directory variable. --- PortMaster/muos/control.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PortMaster/muos/control.txt b/PortMaster/muos/control.txt index 127610b..163e983 100644 --- a/PortMaster/muos/control.txt +++ b/PortMaster/muos/control.txt @@ -8,7 +8,7 @@ CUR_TTY=/dev/tty0 controlfolder="/mnt/mmc/MUOS/PortMaster" -directory=$(echo "$0" | sed 's|^\./||' | awk -F'/' '{print "/" $2 "/" $3}') +directory=$(realpath "$0" | sed 's|^\./||' | awk -F'/' '{print "/" $2 "/" $3}') export PATH="/opt/python/bin:$controlfolder/muos:$controlfolder/muos:$PATH"