From c875598a5ade6a26bf42ad077a27ef774826d5fb Mon Sep 17 00:00:00 2001 From: lrob Date: Fri, 19 Feb 2016 02:45:20 +0100 Subject: [PATCH] double quotes and stuff --- functions/command_fastdl.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/command_fastdl.sh b/functions/command_fastdl.sh index 8eef409cf..4ba97046e 100644 --- a/functions/command_fastdl.sh +++ b/functions/command_fastdl.sh @@ -115,14 +115,14 @@ echo "Done" sleep 1 # Going back to scriptfolder to avoid mistakes -cd ${rootdir} +cd "${rootdir}" # Correct addons folder structure if [ -d "${fastdldir}/addons" ]; then echo "Possible FastDL files found into addons" echo "Moving those files to their correct folder" sleep 2 - cp -Rf ${fastdldir}/addons/*/* "${fastdldir}" + cp -Rf "${fastdldir}"/addons/*/* "${fastdldir}" rm -R "${fastdldir}/addons" echo "Done" sleep 1 @@ -190,7 +190,7 @@ if [ "${luaressource}" == "off" ]; then rm -R "${luafastdlfullpath}" fi fi -if [ "${luaressource}"" == "on" ]; then +if [ "${luaressource}" == "on" ]; then if [ -f "${luafastdlfullpath}" ]; then echo "Removing old download enforcer" sleep 1