diff options
author | Benjamin Denhartog | 2020-07-14 19:42:19 -0700 |
---|---|---|
committer | Benjamin Denhartog | 2020-07-14 19:42:19 -0700 |
commit | a9a163a83ab6c5ce5b9f33501b8b35e8bd74e9f9 (patch) | |
tree | a237ab168dc55de43a173aa207fafa0402c605c4 | |
parent | a569dcb130e92dbc08267b1dcb10f0d24282800c (diff) | |
download | aur-a9a163a83ab6c5ce5b9f33501b8b35e8bd74e9f9.tar.gz |
feat(terragrunt): build using -trimpath to avoid including system paths in the executable
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = terragrunt pkgdesc = A thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules pkgver = 0.23.31 - pkgrel = 2 + pkgrel = 3 url = https://github.com/gruntwork-io/terragrunt arch = x86_64 license = MIT @@ -2,7 +2,7 @@ pkgname=terragrunt pkgver=0.23.31 -pkgrel=2 +pkgrel=3 pkgdesc="A thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules" url="https://github.com/gruntwork-io/terragrunt" arch=('x86_64') @@ -25,7 +25,9 @@ build() { export GOPATH="${srcdir}/.go" # Build the executable + # Use `-trimpath` to avoid including file system paths in the executable go build \ + -trimpath \ -ldflags "-X github.com/gruntwork-io/terragrunt.VERSION=${pkgver}" \ -o "${pkgname}-${pkgver}" \ main.go |