From 5323f8f7d4620bf79d7ebe6d50db60f85c615cd9 Mon Sep 17 00:00:00 2001 From: Dibir Magomedsaygitov Date: Wed, 8 Jul 2020 11:13:21 +0300 Subject: [PATCH] remove temporary path --- images/linux/scripts/installers/oras-cli.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/images/linux/scripts/installers/oras-cli.sh b/images/linux/scripts/installers/oras-cli.sh index d5b4748a7..056a36960 100644 --- a/images/linux/scripts/installers/oras-cli.sh +++ b/images/linux/scripts/installers/oras-cli.sh @@ -17,8 +17,7 @@ ORAS_CLI_ARCHIVE=$(basename $ORAS_CLI_DOWNLOAD_URL) cd /tmp download_with_retries $ORAS_CLI_DOWNLOAD_URL mkdir -p oras-install -tar -xzvf $ORAS_CLI_ARCHIVE -C oras-install/ -mv oras-install/oras /usr/local/bin/ +tar -zxvf $ORAS_CLI_ARCHIVE -C /usr/local/bin oras # Run tests to determine that the software installed as expected echo "Testing to make sure that script performed as expected, and basic scenarios work" @@ -29,4 +28,4 @@ fi # Document what was added to the image echo "Lastly, documenting what we added to the metadata file" -DocumentInstalledItem "ORAS $(oras version | awk 'NR==1{print $2}')" \ No newline at end of file +DocumentInstalledItem "ORAS CLI $(oras version | awk 'NR==1{print $2}')" \ No newline at end of file