summaryrefslogtreecommitdiffstats
path: root/maven/make-directories.sh
blob: f0404e958d1a66c4a7e7f65a040f2efda200da30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

if [ $# -ne 1 ]
then
  echo "make-directories: usage: version" 1>&2
  exit 1
fi

VERSION="$1"
shift

PROJECTS=`./make-list-projects.sh | awk -F: '{print $1}'` || exit 1

for PROJECT in ${PROJECTS}
do
  echo "make-directories: info: creating output/${PROJECT}/${VERSION}" 2>&1
  mkdir -p "output/${PROJECT}/${VERSION}"         || exit 1
done