3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/perl-modules/expression-generator/retrieve-meta-yaml.sh

17 lines
363 B
Bash
Raw Normal View History

#! /bin/sh
source lib-cache.sh;
print_meta_yaml () {
module_name="$1";
module_basename="${module_name//::/-}";
./grab-url.sh "$(./retrieve-file-link.sh "$module_basename" "META.yml")" \
"${module_basename}.meta.yml";
};
module_name="$1";
module_basename="${module_name//::/-}";
cached_output print_meta_yaml "$module_basename" "$module_name" meta.yaml;