2
0
mirror of https://opendev.org/x/pyghmi synced 2025-02-14 09:39:22 +00:00

Fix git copy in builddeb script

The builddeb script attempted to build in a directory
without .git, breaking the version deterimination logic.

Change-Id: Ia2be3a75bdcdf9335586bb40e05e635f4b497ca5
This commit is contained in:
Jarrod Johnson 2019-02-11 09:52:33 -05:00
parent 9fa2095fe7
commit bc8deb4b68

View File

@ -1,7 +1,7 @@
#!/bin/bash
cd `dirname $0`
mkdir -p /tmp/pyghmi
cp -a * /tmp/pyghmi
cp -a * .git /tmp/pyghmi
cd /tmp/pyghmi
if grep wheezy /etc/os-release; then
# wheezy is difficult on pyca, use cryptodomex for that platform