From 2ef53f85884d706f46bd571dfb478f39b5ed2d89 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Tue, 16 Aug 2016 14:36:40 -0700 Subject: [PATCH] Go back to using eval for downloaddir --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 27ecefb..ce73b85 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -274,7 +274,7 @@ fi # Remove any ~ or other oddness in the path we're given -DOWNLOADDIR="$(cd ${DOWNLOADDIR// /\\ } && pwd)" +DOWNLOADDIR="$(eval cd ${DOWNLOADDIR// /\\ } && pwd)" if [ ! -d "${DOWNLOADDIR}" ]; then echo "ERROR: Download directory does not exist or is not a directory" >&2 cronexit 1