Skip to content
Snippets Groups Projects
Commit a4bf5ecc authored by ale's avatar ale
Browse files

little fixes

parent 1b55d60a
Branches
No related tags found
No related merge requests found
......@@ -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
......
#!/bin/bash
#!/bin/sh
#
# Install Go.
#
......
......@@ -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)/... && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment