Skip to content

Commit

Permalink
Update scripts/_Team_Defines.bash
Browse files Browse the repository at this point in the history
Co-authored-by: Manuel Muth <[email protected]>
  • Loading branch information
destogl and mamueluth authored Jun 25, 2024
1 parent 246d850 commit 5032ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/_Team_Defines.bash
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function rtw-find-and-remove-core-files () {

user_decision "Do you want to delete those files?" user_answer
if [[ " ${positive_answers[*]} " =~ " ${user_answer} " ]]; then
find "${search_dir}" -type f -regex ".*core\.[0-9][0-9][0-9][0-9][0-9][0-9]" -delete
find "${search_dir}" -type f -regex ".*core\.[0-9]+"
notify_user "Files ARE deleted!"
else
notify_user "Files NOT deleted!"
Expand Down

0 comments on commit 5032ec8

Please sign in to comment.