bake/dist.sh
Emil Williams a6cc06f8b1 distrib
2024-03-24 20:31:24 +00:00

15 lines
285 B
Bash
Executable File

#!/bin/sh
# distribution tarball
cd "$(dirname "$(readlink -f "$0")")"
FILES='LICENSE README shake install.sh bake.c config.h bake.1'
VERSION="$(cat VERSION)"
TARGET="bake-$VERSION"
mkdir -p $TARGET
cp -f $FILES $TARGET
tar cf $TARGET.tar $TARGET
gzip -f $TARGET.tar
rm -rf $TARGET