diff --git a/debian/control b/debian/control index 3a4c8c817180ea10ed48e2bd12489ba4c0cf4584..881badcd4d3c0e24168bf91a2ab6bf29404c1165 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: audit Section: net Priority: extra Maintainer: ale <ale@incal.net> -Build-Depends: debhelper (>= 8.0.0), libleveldb-dev, git +Build-Depends: debhelper (>= 8.0.0), libleveldb-dev, git, rsync Standards-Version: 3.9.4 Homepage: https://git.autistici.org/ai/audit diff --git a/debian/install-golang b/debian/install-golang old mode 100644 new mode 100755 index 63fc7411f5d25975c44937954a3be12afdbbd553..f89851ff271a6d2e346317b3165a81f77527d7b0 --- a/debian/install-golang +++ b/debian/install-golang @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # # Install Go. # diff --git a/debian/rules b/debian/rules index 52d5c4b1bfd3cfeed10d07484a16ccd5cc3aca2e..7ae7881dabdf00e43248e84b8f5974b2f772276b 100755 --- a/debian/rules +++ b/debian/rules @@ -26,7 +26,7 @@ override_dh_install: install -m 755 -o root -g root -d $(DEBDIR)/localauditd/usr/sbin (export GOPATH=$(BUILDDIR) GOROOT=$(GOROOT) ; \ mkdir -p $(GOROOT) $(BUILDDIR)/src/$(GOPKG) ; \ - $(CURDIR)/debian/install-golang $(GOROOT) $(GO_VERSION) ; \ + sh $(CURDIR)/debian/install-golang $(GOROOT) $(GO_VERSION) ; \ rsync -a --exclude=debian --exclude=.git $(CURDIR)/ $(BUILDDIR)/src/$(GOPKG)/ ; \ cd $(BUILDDIR)/src && \ $(GOROOT)/bin/go get -d -v ./$(GOPKG)/... && \