tzwrapper.cc: fixed use of iterator after erase
[barry.git] / maintainer / make-slimdist.sh
blob6b58196ec96b5ac793db78e9a311fbd4ddcf82c9
1 #!/bin/bash
3 set -e
5 if [ -z "$1" ] ; then
6 echo "Usage: make-slimdist.sh builddir"
7 exit 1
8 fi
10 BUILDDIR="$1"
13 # Creates a tarball of just the repository metadata, not the binary
14 # packages themselves.
17 tar --exclude=*.deb --exclude=*.rpm -cvz -C "$BUILDDIR" -f metadata.tar.gz .