summaryrefslogtreecommitdiffstats
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-10-01 13:29:45 +0000
committerru <ru@FreeBSD.org>2002-10-01 13:29:45 +0000
commitec9540417c9773b979c0b006f762db25255128ec (patch)
tree1547bd1d0f16073194e852bff171ee4908d6626c /share/examples/Makefile
parent16e3d2e21ed5d78f84df0e65bd08418447a5c8ef (diff)
downloadFreeBSD-src-ec9540417c9773b979c0b006f762db25255128ec.zip
FreeBSD-src-ec9540417c9773b979c0b006f762db25255128ec.tar.gz
test -h is deprecated; use -L instead.
PR: bin/40846
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 72ea6bf..bd7f014 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -262,7 +262,7 @@ beforeinstall: ${SHARED} etc-examples
copies:
.for i in ${LDIRS}
- if [ -h ${DESTDIR}${BINDIR}/$i ]; then \
+ if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
rm -f ${DESTDIR}${BINDIR}/$i; \
fi
.endfor
OpenPOWER on IntegriCloud