2008-06-02 09:21:38 +01:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
source lib-cache.sh;
|
|
|
|
|
|
|
|
print_requirements () {
|
2021-11-14 02:54:33 +00:00
|
|
|
module_name="$1";
|
2008-06-02 09:21:38 +01:00
|
|
|
|
2021-11-14 02:54:33 +00:00
|
|
|
./requirements.sh "$module_name" | while read; do
|
|
|
|
echo "$REPLY";
|
|
|
|
print_reqs_cache "$REPLY";
|
|
|
|
done | sort | uniq
|
2008-06-02 09:21:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
print_reqs_cache () {
|
2021-11-14 02:54:33 +00:00
|
|
|
module_name="$1";
|
|
|
|
module_basename="${module_name//::/-}";
|
|
|
|
|
|
|
|
cached_output print_requirements "$module_basename" "$module_name" "full.deps";
|
2008-06-02 09:21:38 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
print_reqs_cache "$@";
|