diakonos/make-help.sh
2008-10-09 11:22:57 -04:00

12 lines
214 B
Bash
Executable file

#!/bin/bash
if [[ $# == 0 || $1 == --help ]]; then
echo "$0 <version number>"
exit 1
fi
VERSION=${1}
cp -r help "$VERSION" && \
tar czvf "diakonos-help-$VERSION.tar.gz" "$VERSION" && \
rm -rf "$VERSION"