Skip to content

Commit

Permalink
Fix gitattributes file
Browse files Browse the repository at this point in the history
Move templates to be consistent with other repos
  • Loading branch information
yosifkit committed Dec 19, 2023
1 parent 0c342ca commit d65c7ea
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 d65c7ea

Please sign in to comment.