forked from mirrors/nixpkgs
57b496ea98
I've tried to be consistent, using four or eight spaces to line up with existing code.
17 lines
378 B
Bash
Executable file
17 lines
378 B
Bash
Executable file
#! /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;
|