From: Chris Hanson Date: Thu, 21 Nov 2002 04:02:34 +0000 (+0000) Subject: Only unlink symlink if its target is the one we linked to. X-Git-Tag: 20090517-FFI~2128 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=1c215daa9ddaebeb53d83f2eaa46ddd41f025a38;p=mit-scheme.git Only unlink symlink if its target is the one we linked to. --- diff --git a/v7/src/etc/Clean.sh b/v7/src/etc/Clean.sh index 13dd05798..6dfdf6146 100755 --- a/v7/src/etc/Clean.sh +++ b/v7/src/etc/Clean.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Clean.sh,v 1.9 2002/11/21 03:51:18 cph Exp $ +# $Id: Clean.sh,v 1.10 2002/11/21 04:02:34 cph Exp $ # # Copyright (c) 2000, 2001, 2002 Massachusetts Institute of Technology # @@ -60,6 +60,8 @@ maintainer-clean) ;; esac +. ../etc/functions.sh + if [ "${DIST}" = "yes" ]; then if [ -f Makefile.in ] && [ -f Makefile ]; then echo "rm Makefile"