diff --git a/clean.sh b/clean.sh index b99ffd9c..6c8b993d 100644 --- a/clean.sh +++ b/clean.sh @@ -1,6 +1,6 @@ #!/bin/bash echo -e "\033[42;30m INFO \033[0m Starting to delete executables generated by compilation." -find . -name '*.exe' -type f -print -exec rm {} \; +find $(git rev-parse --show-toplevel) -name '*.exe' -type f -print -exec rm {} \; echo -e "\033[42;30m INFO \033[0m Successfully deleted executables generated by compilation."