-for thisfile in `ls ${INSTALL_BIN}`; do
- if ls -l ${INSTALL_BIN}/${thisfile} | grep -q GHC.framework/Versions; then
- rm -f ${INSTALL_BIN}/${thisfile}
+for thisfile in ${INSTALL_BIN}/*; do
+ if ls -l "${thisfile}" | grep -q GHC.framework/Versions; then
+ rm -f "${thisfile}"
+ fi
+done
+for thisfile in ${INSTALL_MAN1}/*; do
+ if ls -l "${thisfile}" | grep -q GHC.framework/Versions; then
+ rm -f "${thisfile}"
+ fi
+done
+for thisfile in ${INSTALL_HTML}/*; do
+ if ls -l "${thisfile}" | grep -q GHC.framework/Versions; then
+ rm -f "${thisfile}"