misc/103690: tar processes --exclude as if the pattern started with a *

Frank Korzeniewski frk at adsl-63-194-157-35.dsl.snfc21.pacbell.net
Tue Sep 26 12:30:39 PDT 2006

>Number:         103690
>Category:       misc
>Synopsis:       tar processes --exclude as if the pattern started with a *
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 26 19:30:31 GMT 2006
>Originator:     Frank Korzeniewski
>Release:        6.1
FreeBSD adsl-63-194-157-35.dsl.snfc21.pacbell.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386

i use the following command in the /usr/src directory:
tar cf ../src.tar --exclude 'sys/*' .
to copy the system source from one machine to another.
i do a make buildworld on both machines.
the following error shows up:
"Makefile", line 50: Could not find /usr/src/lib/libc/sys/Makefile.inc
there is nothing in the directory /usr/src/lib/libc/sys
its my opinion that there should be if tar follows the shell globing rules!

do what i did in the full description.

change the man page to reflect the non-shell behavior or fix tar.

i just want to say you guys do a great job.
(i'm not saying that to get this fixed)


More information about the freebsd-bugs mailing list