From 1c215daa9ddaebeb53d83f2eaa46ddd41f025a38 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 21 Nov 2002 04:02:34 +0000 Subject: [PATCH] Only unlink symlink if its target is the one we linked to. --- v7/src/etc/Clean.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" -- 2.25.1