Proper quoting of quotes.

This commit is contained in:
Alexander Kuznetsov 2014-04-04 09:35:06 -04:00
parent 00a8f4e736
commit c51b6598e3

View file

@ -98,7 +98,7 @@ if [ ! -d "${WORKDIR}/fragments" ] && [ ! -x "${WORKDIR}/fragments" ]; then
fi
# are there actually any fragments?
if [ ! "$(ls -A \"${WORKDIR}/fragments\")" ]; then
if [ ! "$(ls -A """${WORKDIR}/fragments""")" ]; then
if [ "x${FORCE}" = "x" ]; then
echo "The fragments directory is empty, cowardly refusing to make empty config files"
exit 1