diff options
author | wiz <wiz> | 2004-07-02 13:42:39 +0000 |
---|---|---|
committer | wiz <wiz> | 2004-07-02 13:42:39 +0000 |
commit | 26782e471dc5928a9bd5b9c97d2d546b49a4e796 (patch) | |
tree | 0c50bca926e21d31958e77703451e3be5157b06d /lang/jdk | |
parent | 276cbafc3f8e11cd8b96f37d036493ecd03764fd (diff) | |
download | pkgsrc-26782e471dc5928a9bd5b9c97d2d546b49a4e796.tar.gz |
Add -f to mv for non-root users.
Diffstat (limited to 'lang/jdk')
-rw-r--r-- | lang/jdk/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/jdk/Makefile b/lang/jdk/Makefile index c2781e95e6b..8a2f1db3e72 100644 --- a/lang/jdk/Makefile +++ b/lang/jdk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2004/07/01 10:57:05 wiz Exp $ +# $NetBSD: Makefile,v 1.39 2004/07/02 13:42:39 wiz Exp $ # VERSION= 1.1.8 @@ -75,10 +75,10 @@ post-patch: for X in lib*.so ;do \ if [ "$$X" = "libXm.so" ]; then continue; fi; \ if [ -f $$X.* ] ;then \ - ${MV} $$X $$X.* ; \ + ${MV} -f $$X $$X.* ; \ ${LN} -s $$X.* $$X; \ elif [ -f "$$X" ] ;then \ - ${MV} $$X $$X.${VERSION} ; \ + ${MV} -f $$X $$X.${VERSION} ; \ ${LN} -s $$X.${VERSION} $$X; \ fi ; \ done) |