1c84d485af
Change-Id: I0e2de7513c31e66200bed3d1cae3662d7404fa83
14 lines
437 B
Bash
14 lines
437 B
Bash
#!/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
|
|
cd loolwsd-@PACKAGE_VERSION@/loleaflet
|
|
tar xzf $SRCDIR/loleaflet/loleaflet-@PACKAGE_VERSION@.tar.gz --strip-components=1
|
|
cd $TEMPDIR
|
|
tar czf $SRCDIR/loolwsd_@PACKAGE_VERSION@.orig.tar.gz loolwsd-@PACKAGE_VERSION@
|
|
cd $SRCDIR
|
|
rm -rf $TEMPDIR
|