www.nico.schottelius.org/software/gpm/browse_source/gpm-1.20.3pre4/scripts/build-tar.sh

9 lines
176 B
Bash
Raw Normal View History

#!/bin/sh
version=$1
[ "$version" ] || exit 3
git archive --format=tar --prefix=gpm-${version}/ HEAD | \
tee ../gpm-${version}.tar | bzip2 -9 > ../gpm-${version}.tar.bz2