blob: 6f0c2f508ae30f8cd83c12dbb5c1293bc6b4a777 [file] [log] [blame]
#!/bin/bash
#
# build a current zip file
#
# parameters
if [ ! -f ./parameters ] ; then
echo Missing parameter file parameters
exit 1
fi
source ./parameters
if [ "${DIR}" = "" ] ; then
echo Missing DIR from parameters
exit 1
fi
if [ "${VERSION}" = "" ] ; then
echo Missing VERSION from parameters
exit 1
fi
if [ ! -d "${DIR}" ] ; then
echo Missing extractor test data directory: ${DIR}
exit 1
fi
rm -f ${DIR}-${VERSION}.zip
(cd ./${DIR} && zip -r ../${DIR}-${VERSION}.zip .)
echo all good