inform the user :)

This commit is contained in:
Janosch Schwalm 2017-12-11 20:30:05 +01:00
parent bd9a604790
commit 0753006088

View File

@ -23,6 +23,7 @@ RESET_FORMATTING=$(tput sgr0)
# if found a ./mvnw file execute it otherwise execute orignal mvn # if found a ./mvnw file execute it otherwise execute orignal mvn
mvn-or-mvnw() { mvn-or-mvnw() {
if [ -f ./mvnw ] ; then if [ -f ./mvnw ] ; then
echo "executing mvnw instead of mvn"
./mvnw "$@"; ./mvnw "$@";
else else
mvn "$@"; mvn "$@";