nixpkgs/pkgs/development/perl-modules/expression-generator/filtered-requirements.sh
Victor Engmark 57b496ea98 misc: Replace tab indentation with spaces
I've tried to be consistent, using four or eight spaces to line up
with existing code.
2021-11-14 16:04:46 +13:00

19 lines
393 B
Bash
Executable File

#! /bin/sh
source lib-cache.sh;
print_reqs() {
module_name="$1";
./requirements.sh "$1"| while read; do
if let "$(./source-download-link.sh "${REPLY}" | wc -c)" && [ perl != "$REPLY" ]; then
echo "$REPLY";
fi;
done;
}
module_name="$1";
module_basename="${module_name//::/-}";
cached_output print_reqs "$module_basename" "$module_name" "pure.deps";