Skip to content

Commit

Permalink
Use ARCH variable, so we fail early on aarch64
Browse files Browse the repository at this point in the history
When using this on alternate platform like aarch64, at least it will
cause the make script to fail early when the aarch64 file doesn't exist,
rather than incorrectly downloading the amd64 version. aarch64 chrome
may get packaged in future also.

Signed-off-by: Eric Curtin <[email protected]>
  • Loading branch information
ericcurtin committed May 1, 2024
1 parent 8ea285a commit 5d7f590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/common/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ifeq ($(OS),Darwin) # This structure may vary if we upgrade chromedriver, see in
CHROME_DOWNLOAD_PATH := googlechrome.dmg
else ifeq ($(OS),Linux)
CHROMEDRIVER_DOWNLOAD_PATH := chromedriver_linux64.zip
CHROME_DOWNLOAD_PATH := google-chrome-stable_current_amd64.deb
CHROME_DOWNLOAD_PATH := google-chrome-stable_current_$(ARCH).deb
endif

CHROME_MIRROR := https://www.slimjet.com/chrome/files/$(CHROMEDRIVER_VERSION)/$(CHROME_DOWNLOAD_PATH)
Expand Down

0 comments on commit 5d7f590

Please sign in to comment.