mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
build: Make 'assert-no-store-file-names' effective.
Lack of '-E' made it useless. * Makefile.am (assert-no-store-file-names): Pass '-E' to grep. Add '--exclude' and '--exclude-dir' flags.
This commit is contained in:
parent
402bb3b9f7
commit
69e7322fdc
1 changed files with 4 additions and 1 deletions
|
@ -495,7 +495,10 @@ gen-AUTHORS:
|
|||
# Make sure we're not shipping a file that embeds a local /gnu/store file name.
|
||||
assert-no-store-file-names:
|
||||
$(AM_V_at)if grep -r --exclude=*.texi --exclude=*.info \
|
||||
"$(storedir)/[a-z0-9]{32}-" $(distdir) ; \
|
||||
--exclude=*.info-[0-9] --exclude=*.dot \
|
||||
--exclude=*.eps --exclude-dir=bootstrap \
|
||||
--exclude=guix-prettify.el \
|
||||
-E "$(storedir)/[a-z0-9]{32}-" $(distdir) ; \
|
||||
then \
|
||||
echo "error: store file names embedded in the distribution" >&2 ; \
|
||||
exit 1 ; \
|
||||
|
|
Loading…
Reference in a new issue