This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Patch to generic-build-script for listing package files
- From: Marcel Telka <marcel at telka dot sk>
- To: Harold L Hunt II <huntharo at msu dot edu>
- Cc: cygwin-apps at cygwin dot com
- Date: Sun, 26 Oct 2003 07:28:04 +0100
- Subject: Re: Patch to generic-build-script for listing package files
- References: <3F9ABE41.2080205@msu.edu>
On 25.10.2003 20:17, Harold L Hunt II wrote:
+list() {
+ (cd ${instdir} && \
+ find . -name "*" ! -type d | sed 's/\.\/\(.*\)/\1/' )
What about "find ! -type d | cut -c 2-" instead of
"find . -name "*" ! -type d | sed 's/\.\/\(.*\)/\1/'"?
Differences:
- less characters :-)
- filenames started with "." are listed too
+}
Regards.
--
+-------------------------------------------+
| Marcel Telka e-mail: marcel@telka.sk |
| homepage: http://telka.sk/ |
| jabber: marcel@jabber.sk |
+-------------------------------------------+