1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh if [ $# -ne 2 ] then echo "make-pom-one: usage: project version" 1>&2 exit 1 fi PROJECT="$1" shift VERSION="$1" shift PLATFORMS=`cat make-platforms.txt | awk '{print $1}'` || exit 1 cd "projects/${PROJECT}" || exit 1 exec ./pom.sh "${VERSION}" ${PLATFORMS}