Files @ d7ffa366e13b
Branch filter:

Location: libtransport.git/packaging/fedora/build_tarball.sh

Thomas Riccardi
libcommuni IRC backend: support multi-lines messages

... by splitting them into one PRIVMSG command per line.
#!/bin/sh
set -eu

DIRNAME=spectrum2
REPODIR=$(readlink -f $(dirname $0)/../../.git)

echo "Cleaning up old sources ..."
rm -rf spectrum2-*

echo "Checking out a fresh copy ..."
rm -rf $DIRNAME
git clone $REPODIR $DIRNAME && rm -rf $DIRNAME/.git

echo "Creating tarball ..."
tar czf $DIRNAME.tar.gz $DIRNAME && rm -rf $DIRNAME