Skip to content

Commit be49cab

Browse files
committed
Fix minor "git log" usage issue
1 parent 5f2bb88 commit be49cab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generate-stackbrew-library.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ url='git://github.com/docker-library/python'
1616
echo '# maintainer: InfoSiftr <github@infosiftr.com> (@infosiftr)'
1717

1818
for version in "${versions[@]}"; do
19-
commit="$(git log -1 --format='format:%H' "$version")"
19+
commit="$(git log -1 --format='format:%H' -- "$version")"
2020
fullVersion="$(grep -m1 'ENV PYTHON_VERSION ' "$version/Dockerfile" | cut -d' ' -f3)"
2121
versionAliases=( $fullVersion $version ${aliases[$version]} )
2222

@@ -26,7 +26,7 @@ for version in "${versions[@]}"; do
2626
done
2727

2828
for variant in onbuild; do
29-
commit="$(git log -1 --format='format:%H' "$version/$variant")"
29+
commit="$(git log -1 --format='format:%H' -- "$version/$variant")"
3030
echo
3131
for va in "${versionAliases[@]}"; do
3232
if [ "$va" = 'latest' ]; then

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy