This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
PATCH: generic-build-script: Make output of depend function unique
- From: "Dr. Volker Zell" <Dr dot Volker dot Zell at oracle dot com>
- To: cygwin-apps at cygwin dot com
- Date: Thu, 30 Sep 2004 20:27:01 +0200
- Subject: PATCH: generic-build-script: Make output of depend function unique
Hi
2004-09-30 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
* generic-build-script: Make output of depend function unique
diff -u -p /usr/local/src/generic-build-script.orig /usr/local/src/generic-build-script
--- /usr/local/src/generic-build-script.orig 2004-09-30 19:09:20.639184000 +0200
+++ /usr/local/src/generic-build-script 2004-09-30 19:09:20.989688000 +0200
@@ -243,7 +243,7 @@ depend() {
(cd ${instdir} && \
find ${instdir} -name "*.exe" -o -name "*.dll" | xargs cygcheck | \
sed -e '/\.exe/d' -e 's,\\,/,g' | sort -bu | xargs -n1 cygpath -u \
- | xargs cygcheck -f | sed 's%^% %' ; \
+ | xargs cygcheck -f | sed 's%^% %' | uniq ; \
true )
}
pkg() {