move-docs.sh: quote where semanticaly valid

This commit is contained in:
happysalada 2021-06-24 13:54:15 +09:00 committed by Raphael Megzari
parent 4e3d905b0d
commit a7d7e40c00

View file

@ -14,8 +14,8 @@ _moveToShare() {
echo "both $d/ and share/$d/ exist!"
else
echo "moving $out/$d to $out/share/$d"
mkdir -p $out/share
mv $out/$d $out/share/
mkdir -p "$out/share"
mv "$out/$d" "$out/share/"
fi
fi
done