diff options
Diffstat (limited to 'maven/make-poms.sh')
-rwxr-xr-x | maven/make-poms.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/maven/make-poms.sh b/maven/make-poms.sh index 568e840..b42d56e 100755 --- a/maven/make-poms.sh +++ b/maven/make-poms.sh @@ -9,12 +9,12 @@ fi VERSION="$1" shift -PROJECTS=`./make-list-projects.sh | awk -F: '{print $1}'` || exit 1 +PROJECTS=`ls projects` || exit 1 for PROJECT in ${PROJECTS} do - echo "make-poms: info: generating pom for ${PROJECT}" 1>&2 - "./${PROJECT}.pom.sh" "${VERSION}" > "output/${PROJECT}.pom.tmp" || exit 1 - mv "output/${PROJECT}.pom.tmp" "output/${PROJECT}.pom" || exit 1 + echo "make-poms: info: generating pom for ${PROJECT}" 1>&2 + ./make-pom-one.sh "${PROJECT}" "${VERSION}" > "output/${PROJECT}.pom.tmp" || exit 1 + mv -n "output/${PROJECT}.pom.tmp" "output/${PROJECT}.pom" || exit 1 done |