blob: 060da2fc2db50971a1f1c0195a987891c8f15496 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
template_dir="templates"
while [[ ! -d "${template_dir}" ]]; do
template_dir=../"${template_dir}"
done
for template in "$@"; do
cp "${template_dir}/${template}" .
done
|