Skip to content

Commit

Permalink
fix crc-support run.sh script extra popd
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu committed Nov 11, 2024
1 parent 2263957 commit 046c90c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crc-support/oci/lib/unix/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,18 +102,16 @@ if [[ $download == "true" ]]; then
dURL="$aBaseURL/$aName"
download $dURL
check_download $aName $aSHAName
if [[ ${?} -ne 0 ]]; then
popd
if [[ ${?} -ne 0 ]]; then
echo "Error with downloading $aName"
exit 1
fi
fi
popd
fi

# INSTALLATION
if [[ $install == 'true' ]]; then
echo "installing crc"
installCRC $aName
fi

popd

0 comments on commit 046c90c

Please sign in to comment.