Skip to content

Commit

Permalink
Merge pull request #467 from codacy/fix-move-action-get-script
Browse files Browse the repository at this point in the history
fix download method with move action
  • Loading branch information
DMarinhoCodacy authored Aug 1, 2023
2 parents f3c2fdb + 3533714 commit 37f692c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ download() {

download_file "$url"
checksum "$file_name" "$checksum_url"
mv -n "$file_name" "$output_filename"
if [ "$os_name" = "Linux" ] || [ "$os_name" = "Darwin" ]; then
mv "$file_name" "$output_filename"
fi

cd "$original_folder"
}
Expand Down

0 comments on commit 37f692c

Please sign in to comment.