mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
parent
858f5732ba
commit
18fcbbe1a1
@ -193,12 +193,8 @@ _check_hash: $(DEPOT_ARCHIVE_DIR).hash checked_recipe_hash_value_exists
|
||||
#
|
||||
# The command is invoked from within the archive directory within the depot.
|
||||
#
|
||||
# The 'echo' right before 'cat' is needed to handle the special case where
|
||||
# 'find' is executed in an empty directory (yielding an empty result), which
|
||||
# would otherwise prompt 'cat' to block for standard input.
|
||||
#
|
||||
HASH_CMD := cd $(DEPOT_ARCHIVE_DIR); \
|
||||
echo | cat `find . -type f | sort` | $(HASHSUM) | sed "s/ .*//" \
|
||||
find . -type f | sort | xargs -d '\n' cat | $(HASHSUM) | sed "s/ .*//"
|
||||
|
||||
#
|
||||
# Generate the hash from the archive content
|
||||
|
Loading…
x
Reference in New Issue
Block a user