summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2017-09-04 19:09:34 +0300
committerAndrei Belov <defan@nginx.com>2017-09-04 19:09:34 +0300
commitdb6d2b96877dac089e22817fc9896a45ea410d8d (patch)
treed85fad4e0921f111e331aa36d1a9f214b4d8de63 /auto
parentd57ec94a3f068705bd7eb163a7c7dba429a0e498 (diff)
downloadunit-db6d2b96877dac089e22817fc9896a45ea410d8d.tar.gz
unit-db6d2b96877dac089e22817fc9896a45ea410d8d.tar.bz2
Fixed permissions for Go sources.
In particular, it resolves a number of errors and warnings reported by rpmlint(1).
Diffstat (limited to 'auto')
-rw-r--r--auto/modules/go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/go b/auto/modules/go
index 847938ea..c31dbe94 100644
--- a/auto/modules/go
+++ b/auto/modules/go
@@ -109,7 +109,7 @@ install: ${NXT_GO}-install
${NXT_GO}-install: ${NXT_GO}
install -d \$(DESTDIR)\$(GOPATH)/src/unit
- install -p ./src/go/unit/* \$(DESTDIR)\$(GOPATH)/src/unit/
+ install -p -m644 ./src/go/unit/* \$(DESTDIR)\$(GOPATH)/src/unit/
CGO_CFLAGS="-I\$(NXT_ROOT)/$NXT_BUILD_DIR -I\$(NXT_ROOT)/src" \\
CGO_LDFLAGS="-L\$(NXT_ROOT)/$NXT_BUILD_DIR ${NXT_LIBRT}" \\
GOPATH=\$(DESTDIR)\$(GOPATH) \\