From 4b4fe80eb3f3755fa68c387d51bc96556b574dd1 Mon Sep 17 00:00:00 2001 From: David Copperfield <43368961+David-C0pperfield@users.noreply.github.com> Date: Wed, 7 Sep 2022 12:52:38 +0800 Subject: [PATCH] Fix code Remove the superfluous "dirname" --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 9465a0c..5b77d16 100644 --- a/install.sh +++ b/install.sh @@ -1,9 +1,9 @@ #!/bin/sh -BASE_PATH=$(dirname $( - cd $(dirname "$0") +BASE_PATH=$( + cd $(dirname "$0"); pwd -)) +) PDFM_DISP_CRACK="${BASE_PATH}/prl_disp_service" PDFM_DISP_DST="/Applications/Parallels Desktop.app/Contents/MacOS/Parallels Service.app/Contents/MacOS/prl_disp_service"