Fix Makefile to clean and remove .svn when making dist. rc-mount no longer appends -f for linux mount and uses -i instead to ignore helpers

This commit is contained in:
Roy Marples
2007-04-25 12:32:47 +00:00
parent dfc208bd25
commit 00d596fb43
2 changed files with 11 additions and 2 deletions

View File

@@ -52,8 +52,14 @@ do_unmount() {
# OK, try forcing things
if [ ${retry} -le 0 ] ; then
${cmd} -f "${mnt}" || retry=-999
retry=-999
local extra_opts="-f"
case "${cmd}" in
mount*)
# Silly reiserfs helper blocks us, so bypass it
[ "${RC_UNAME}" = "Linux" ] && extra_opts="-i"
;;
esac
${cmd} ${extra_opts} "${mnt}" || retry=-999
break
fi
done