delorie.com/archives/browse.cgi | search |
Thanks All! > Here is my command line: > > @tar -zcvf $(TARBALL) Makefile *.c *.h ./tracer/* \ > > License Readme version > ./monitor/* --exclude=./monitor/monitor.o > >Use the following instead: > > tar -zcvf $(TARBALL) Makefile *.c *.h ./tracer/* \ > License Readme version ./monitor --exclude=./monitor/monitor.o > ^ > +--- see below > >Note that there is no "/*" after "./monitor" above. This worked. >You are explicitly specifying "./monitor/monitor.o" on the commandline >via "./monitor/*", so the exclude option is being ignored. Hence, the >guess in my previous email was correct. I didn't realize that dir/* explicitly listed the files into the command line. Thinking about it though, this does make sense. Who is incharge of documentation? Perhaps this type of example could help others down the road. Thanks, Matt Minnis Cthulhu for President. Why settle for a lesser evil? ========================================================= Preferred Resources (314) 567-7600 phone 701 Emerson rd. (314) 993-6699 fax Suite 475 mminnis AT prefres DOT com St. Louis, MO 63141 ========================================================= -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |