Skip to content
Commit 2d1468a2 authored by Jessica Clarke's avatar Jessica Clarke Committed by Holger Levsen
Browse files

reproducible FreeBSD: Actually ignore source tarball



The egrep argument was a glob, but egrep wants a(n extended) regex, so
this was not working correctly (GNU grep interprets this as matching
freebsd_main_git?.tar.xz, which is what's used in this case, whereas BSD
grep is more friendly and gives an error). But, in fact, the use of
egrep is redundant here, we can just get find to filter out the file in
the first place.

Note that because we're in the b1 directory, use find * and the file is
in the current directory we can use -regex despite it being for the
whole path and not the file name, as the two will be the same. Were this
to change, the regex would need appropriately prefixing to match a
directory prefix.

Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent a373d301
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment