Fix micromamba tar command for macOS

Moved the -O from after the file to after the tar command for compatibility with macOS

Signed-off-by: Kevin Coakley <kcoakley@sdsc.edu>
This commit is contained in:
Kevin Coakley 2022-11-17 14:43:07 -08:00 committed by Lincoln Stein
parent 18ae3949ef
commit 1f0220697b

View File

@ -91,7 +91,7 @@ if [ "$PACKAGES_TO_INSTALL" != "" ]; then
# download micromamba # download micromamba
echo -e "\n***** Downloading micromamba from $MICROMAMBA_DOWNLOAD_URL to micromamba *****\n" echo -e "\n***** Downloading micromamba from $MICROMAMBA_DOWNLOAD_URL to micromamba *****\n"
curl -L "$MICROMAMBA_DOWNLOAD_URL" | tar -xvj bin/micromamba -O > micromamba curl -L "$MICROMAMBA_DOWNLOAD_URL" | tar -xvjO bin/micromamba > micromamba
chmod u+x "micromamba" chmod u+x "micromamba"