2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 04:56:12 +00:00

Have builddeb move to tmp

This avoids build trampling current working tree.
This commit is contained in:
Jarrod Johnson 2019-02-11 13:54:49 -05:00
parent b42114bea0
commit 95d5ff6a4c

View File

@ -1,12 +1,14 @@
#!/bin/bash
cd `dirname $0`
PKGNAME=$(basename $(pwd))
DPKGNAME=$(basename $(pwd) | sed -e s/_/-/)
cp -a * .git /tmp/$DPKGNAME
cd /tmp/$DPKGNAME
if [ -x ./makeman ]; then
./makeman
fi
./makesetup
VERSION=`cat VERSION`
PKGNAME=$(basename $(pwd))
DPKGNAME=$(basename $(pwd) | sed -e s/_/-/)
cat > setup.cfg << EOF
[install]
install-purelib=/opt/confluent/lib/python