pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/adobeps-win Do not "mv" a file over itself; it c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/961cac3448b8
branches: trunk
changeset: 495321:961cac3448b8
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Jun 06 20:43:52 2005 +0000
description:
Do not "mv" a file over itself; it causes an error with FSF mv(1).
diffstat:
print/adobeps-win/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 7fc0dd124baa -r 961cac3448b8 print/adobeps-win/Makefile
--- a/print/adobeps-win/Makefile Mon Jun 06 20:34:15 2005 +0000
+++ b/print/adobeps-win/Makefile Mon Jun 06 20:43:52 2005 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index