libreoffice-online/maketarballfordeb.sh.in

15 lines
437 B
Bash
Raw Normal View History

2016-05-10 08:00:20 -05:00
#!/bin/sh
TEMPDIR=`mktemp -d`
SRCDIR=`pwd`
cd $TEMPDIR
tar xzf $SRCDIR/loolwsd-@PACKAGE_VERSION@.tar.gz
cp -a $SRCDIR/debian loolwsd-@PACKAGE_VERSION@
mkdir -p loolwsd-@PACKAGE_VERSION@/loleaflet
2016-05-10 08:00:20 -05:00
cd loolwsd-@PACKAGE_VERSION@/loleaflet
tar xzf $SRCDIR/loleaflet/loleaflet-@PACKAGE_VERSION@.tar.gz --strip-components=1
2016-05-10 08:00:20 -05:00
cd $TEMPDIR
tar czf $SRCDIR/loolwsd_@PACKAGE_VERSION@.orig.tar.gz loolwsd-@PACKAGE_VERSION@
2016-05-10 08:00:20 -05:00
cd $SRCDIR
rm -rf $TEMPDIR