summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim>2005-06-06 20:43:52 +0000
committerminskim <minskim>2005-06-06 20:43:52 +0000
commit60dbff3520b291aea56fd23d970bc515d4700a7a (patch)
treee55f3553f9ce85ed32a4b5b5b4cd36ea1f65a411 /print
parentd20d445b41a351fa5babdd265f73df78ac078fa9 (diff)
downloadpkgsrc-60dbff3520b291aea56fd23d970bc515d4700a7a.tar.gz
Do not "mv" a file over itself; it causes an error with FSF mv(1).
Diffstat (limited to 'print')
-rw-r--r--print/adobeps-win/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/print/adobeps-win/Makefile b/print/adobeps-win/Makefile
index ed1582b8593..d859fe0839f 100644
--- a/print/adobeps-win/Makefile
+++ b/print/adobeps-win/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/03/26 02:27:50 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2005/06/06 20:43:52 minskim Exp $
DISTNAME= winsteng
PKGNAME= adobeps-win-1.0.6
@@ -28,7 +28,9 @@ post-extract:
cd ${WRKSRC}; for dir in WinNT Windows; do \
( cd $$dir; for file in *; do \
cap=`${ECHO} $$file | ${TR} '[a-z]' '[A-Z]'`; \
- ${MV} $$file $$cap; \
+ if [ $$file != $$cap ]; then \
+ ${MV} $$file $$cap; \
+ fi; \
done ); \
done