From 3308d1add0bee3a30d745b14171c4a6735d48bbb Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Tue, 29 Nov 2016 20:14:07 -0800 Subject: [PATCH] Fix quoting in installer full path check --- extras/installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/installer.sh b/extras/installer.sh index d241edb..ce1c042 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -323,8 +323,8 @@ if [ -f ~/.plexupdate ]; then fi fi -if [ -f "$(dirname $0)/../plexupdate.sh" -a -d "$(dirname $0)/../.git" ]; then - FULL_PATH=$(readlink -f $(dirname $0)/../) +if [ -f "$(dirname "$0")/../plexupdate.sh" -a -d "$(dirname "$0")/../.git" ]; then + FULL_PATH=$(readlink -f $(dirname "$0")/../) echo echo "Found plexupdate.sh in '$FULL_PATH', using that as your install path" else