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
commit9b029bd50c00f95d47540c9e3f992cada3607d19 (patch)
treee55f3553f9ce85ed32a4b5b5b4cd36ea1f65a411 /print
parent868ce60b3f43b42076e430bb5fef11cf092de2e5 (diff)
downloadpkgsrc-9b029bd50c00f95d47540c9e3f992cada3607d19.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