1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/bin/sh -ex info() { echo "make-tests-clean: info: $1" 1>&2 } fatal() { echo "make-tests-clean: fatal: $1" 1>&2 exit 1 } CURRENT_DIR=`pwd` || fatal "could not save current working directory" cd tests rm -f pom.xml for d in test-* do rm -f "${d}/pom.xml" done