diff options
Diffstat (limited to '')
-rwxr-xr-x[-rw-r--r--] | update_common_files.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/update_common_files.sh b/update_common_files.sh index 6e3c145..d204c17 100644..100755 --- a/update_common_files.sh +++ b/update_common_files.sh @@ -12,15 +12,14 @@ echo "$file_spec" | jq --raw-output 'keys | join("\n")' | while read -r file; do echo "Instantiating '$file'..." echo "$file_spec" | jq --raw-output ".[\"$file\"] | join(\"\n\")" | while read -r language; do - template="$ROOT/templates/$language"; + template="$ROOT/templates/$language" echo " done for '$language'." - mkdir --parents "$(dirname "$template/$file")" - rm "$template/$file" - cp "$file" "$template/$file" + mkdir --parents "$(dirname "$template/$file")" + rm "$template/$file" + cp "$file" "$template/$file" done - first_run_done=yes done |