We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2065b4 commit 3e97327Copy full SHA for 3e97327
1 file changed
functions.sh
@@ -105,7 +105,7 @@ function get_supported_arches() {
105
lines=$(grep "${variant}" "$(dirname "${version}")"/architectures 2> /dev/null | cut -d' ' -f1)
106
107
# Get version specific supported architectures if there is specialized information
108
- if [ -a "${version}"/architectures ]; then
+ if [ -e "${version}"/architectures ]; then
109
lines=$(grep "${variant}" "${version}"/architectures 2> /dev/null | cut -d' ' -f1)
110
fi
111
@@ -150,7 +150,7 @@ function get_versions() {
150
151
152
for dir in "${dirs[@]}"; do
153
- if [ -a "${dir}/Dockerfile" ] || [ -a "${dir}/${default_variant}/Dockerfile" ]; then
+ if [ -e "${dir}/Dockerfile" ] || [ -e "${dir}/${default_variant}/Dockerfile" ]; then
154
versions+=("${dir#./}")
155
156
done
0 commit comments