mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
update
This commit is contained in:
parent
358ff939b2
commit
f625752f3b
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#%%MULTILINE_YAML_START
|
||||
# render job-templates.yml from job-templates.tpl.yml
|
||||
set -euo pipefail
|
||||
for script in scripts/*.sh; do
|
||||
for script in $(find ./scripts -name '*.sh'); do
|
||||
awk -v script_name="$(basename "$script")" '
|
||||
NR==1 && /^#!/ {printf("# Begin of %s\n",script_name); next} # strip shebang in first line, print head comment
|
||||
/^\s*$/ {next} # strip any newlines or whitespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue