2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Reorganize builddeb to preserve git tree

The git tree is needed to successfully build
This commit is contained in:
Jarrod Johnson 2019-02-11 15:16:24 -05:00
parent 52d25d563b
commit 22d79867c8

View File

@ -2,9 +2,10 @@
cd `dirname $0`
PKGNAME=$(basename $(pwd))
DPKGNAME=$(basename $(pwd) | sed -e s/_/-/)
mkdir -p /tmp/$DPKGNAME
cp -a * .git /tmp/$DPKGNAME
cd /tmp/$DPKGNAME
cd ..
mkdir -p /tmp/confluent # $DPKGNAME
cp -a * .git /tmp/confluent # $DPKGNAME
cd /tmp/confluent/$PKGNAME
if [ -x ./makeman ]; then
./makeman
fi