Only unlink symlink if its target is the one we linked to.
authorChris Hanson <org/chris-hanson/cph>
Thu, 21 Nov 2002 04:02:34 +0000 (04:02 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 21 Nov 2002 04:02:34 +0000 (04:02 +0000)
v7/src/etc/Clean.sh

index 13dd0579877971a9d9bdc87d7c8eb803f97cf809..6dfdf6146ec6b5dce25dfe083dd5c9fbd75ffcf8 100755 (executable)
@@ -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"