Skip to content

Commit

Permalink
Merge pull request #1020 from infosiftr/template-move
Browse files Browse the repository at this point in the history
Fix gitattributes file
  • Loading branch information
tianon authored Dec 19, 2023
2 parents 0c342ca + d65c7ea commit c0c45e2
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/*.*/**/Dockerfile* linguist-generated
/*.*/**/docker-entrypoint.sh linguist-generated
Dockerfile* linguist-language=Dockerfile
/*/**/Dockerfile* linguist-generated
/*/**/docker-entrypoint.sh linguist-generated
Dockerfile* linguist-language=Dockerfile
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions apply-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ for version; do
dockerfile="Dockerfile.$variant"
{
generated_warning
gawk -f "$jqt" "template/$dockerfile"
gawk -f "$jqt" "$dockerfile"
} > "$version/$dockerfile"
fi
done

cp -a template/docker-entrypoint.sh "$version/docker-entrypoint.sh"
cp -a docker-entrypoint.sh "$version/docker-entrypoint.sh"
done
File renamed without changes.
1 change: 0 additions & 1 deletion versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ fi
versions=( "${versions[@]%/}" )

for version in "${versions[@]}"; do
[ "$version" != 'template' ] || continue
export version

doc='{}'
Expand Down

0 comments on commit c0c45e2

Please sign in to comment.