1
0
mirror of https://github.com/coturn/coturn.git synced 2025-08-11 16:57:09 +02:00
coturn/examples/scripts/pack.sh
2019-01-17 07:50:47 +01:00

24 lines
343 B
Bash
Executable File

#!/bin/sh
# Run it from the root of the coturn source tree
V=4.5.1.0
PACKDIR=`pwd`/../coturn-releases/
SRCDIR=`pwd`
DDIR=turnserver-${V}
cd ${SRCDIR}/
make distclean
cd ${PACKDIR}
rm -rf tmp
mkdir tmp
cd tmp
mkdir ${DDIR}
cp -R ${SRCDIR}/* ${DDIR}/
tar cvfz ../${DDIR}.tar.gz ${DDIR}
cd ..
rm -rf tmp
cp -a ${SRCDIR}/ChangeLog ${PACKDIR}