Skip to content

Commit 34f3ef2

Browse files
ltangvaldyosifkit
authored andcommitted
Template: Rename template directory to be hidden
Renamed from template.Debian to .template.Debian so the update script won't see it as a build directory.
1 parent afceb7f commit 34f3ef2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

update.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ declare -A debianVariants=(
1717
# Copy entrypoint template
1818
templateVersions=( "5.7 8.0" )
1919
for version in ${templateVersions}; do
20-
cp "template.Debian/docker-entrypoint.sh" "${version}/"
20+
cp ".template.Debian/docker-entrypoint.sh" "${version}/"
2121
done
2222

2323
for version in "${versions[@]}"; do
24-
if [ "${version}" = "template.Debian" ]; then continue; fi # If update.sh is run without arguments, the template directory is included in the list
2524
debianVariant="${debianVariants[$version]:-$defaultDebianVariant}"
2625
debianSuite="${debianVariant%%-*}" # "stretch", etc
2726

0 commit comments

Comments
 (0)