libreoffice-online/loolwsd/maketarballfordeb.sh.in
2016-05-10 15:00:29 +02:00

13 lines
393 B
Bash
Executable file

#!/bin/sh
TEMPDIR=`mktemp -d`
SRCDIR=`pwd`
cd $TEMPDIR
tar xzvf $SRCDIR/loolwsd-@PACKAGE_VERSION@.tar.gz
mkdir loolwsd-@PACKAGE_VERSION@/loleaflet
cd loolwsd-@PACKAGE_VERSION@/loleaflet
tar xzvf $SRCDIR/../loleaflet/loleaflet-@PACKAGE_VERSION@.tar.gz --strip-components=1
cd $TEMPDIR
tar czvf $SRCDIR/loolwsd_@PACKAGE_VERSION@.orig.tar.gz loolwsd-@PACKAGE_VERSION@
cd $SRCDIR
rm -rf $TEMPDIR