diff --git a/depFiles/ripCD.sh b/depFiles/ripCD.sh index 58e6ea2..e9b3a7a 100755 --- a/depFiles/ripCD.sh +++ b/depFiles/ripCD.sh @@ -69,8 +69,8 @@ checkEncDir(){ writeCsv(){ CSVFILE="${VOLUME}/${RIP_DIR}/albums.csv" - if [ ! -e ${CSVFILE} ]; then - touch ${CSVFILE} + if [ ! -e "${CSVFILE}" ]; then + touch "${CSVFILE}" fi grep -qF -- ${DISCID} "${CSVFILE}" || echo ""${DISCID}","${PERFORMER}","${ALBUM_TITLE}","${YEAR}","${DISCNUMBER}"" >> "${CSVFILE}" }