X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=distrib%2FMacOS%2Finstaller-scripts%2FUninstaller;h=678fce8272204a7e5da027dfafefb2e60d4eacd0;hp=0b79258f25f4fd37862ee04bebe44b37e9b2229b;hb=894e4ba334c52e0da4ad85f30522a12ea77b2dc4;hpb=ba8ea9d3f3bb97c4f7a680c11374f4f49853f7b1 diff --git a/distrib/MacOS/installer-scripts/Uninstaller b/distrib/MacOS/installer-scripts/Uninstaller index 0b79258..678fce8 100644 --- a/distrib/MacOS/installer-scripts/Uninstaller +++ b/distrib/MacOS/installer-scripts/Uninstaller @@ -48,19 +48,19 @@ if [ ${NO_VERSIONS} -ne 2 ]; then fi echo "Removing symbolic links into GHC.framework" -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 `ls ${INSTALL_MAN1}`; do - if ls -l ${INSTALL_MAN1}/${thisfile} | grep -q GHC.framework/Versions; then - rm -f ${INSTALL_MAN1}/${thisfile} +for thisfile in ${INSTALL_MAN1}/*; do + if ls -l "${thisfile}" | grep -q GHC.framework/Versions; then + rm -f "${thisfile}" fi done -for thisfile in `ls ${INSTALL_HTML}`; do - if ls -l ${INSTALL_HTML}/${thisfile} | grep -q GHC.framework/Versions; then - rm -f ${INSTALL_HTML}/${thisfile} +for thisfile in ${INSTALL_HTML}/*; do + if ls -l "${thisfile}" | grep -q GHC.framework/Versions; then + rm -f "${thisfile}" fi done