Skip to content

Commit 6ccbd0a

Browse files
committed
Move "bashbrew-arch-to-goenv.sh" into a scripts subdirectory
1 parent 7a318e4 commit 6ccbd0a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
**
2-
!.bashbrew-arch-to-goenv.sh
32
!go/go.*
43
!go/src/
54
!go/vendor/
5+
!scripts/bashbrew-arch-to-goenv.sh

Dockerfile.release

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV BASHBREW_ARCHES \
2020
s390x \
2121
windows-amd64
2222

23-
COPY .bashbrew-arch-to-goenv.sh /usr/local/bin/
23+
COPY scripts/bashbrew-arch-to-goenv.sh /usr/local/bin/
2424

2525
# https://github.com/estesp/manifest-tool/releases
2626
ENV MANIFEST_TOOL_VERSION 1.0.2
@@ -36,7 +36,7 @@ RUN set -euxo pipefail; \
3636
\
3737
for bashbrewArch in $BASHBREW_ARCHES; do \
3838
( \
39-
goEnv="$(.bashbrew-arch-to-goenv.sh "$bashbrewArch")"; eval "$goEnv"; \
39+
goEnv="$(bashbrew-arch-to-goenv.sh "$bashbrewArch")"; eval "$goEnv"; \
4040
srcBin="manifest-tool-$GOOS-$GOARCH"; \
4141
if [ "$GOARCH" = 'arm' ]; then [ -n "$GOARM" ]; srcBin="${srcBin}v$GOARM"; fi; \
4242
[ "$GOOS" = 'windows' ] && ext='.exe' || ext=; \
@@ -64,7 +64,7 @@ RUN set -euxo pipefail; \
6464
\
6565
for bashbrewArch in $BASHBREW_ARCHES; do \
6666
( \
67-
goEnv="$(.bashbrew-arch-to-goenv.sh "$bashbrewArch")"; eval "$goEnv"; \
67+
goEnv="$(bashbrew-arch-to-goenv.sh "$bashbrewArch")"; eval "$goEnv"; \
6868
[ "$GOOS" = 'windows' ] && ext='.exe' || ext=; \
6969
\
7070
targetBin="bin/bashbrew-$bashbrewArch$ext"; \
File renamed without changes.

0 commit comments

Comments
 (0)