summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorArthur Skowronek2015-11-05 06:46:23 +0100
committerArthur Skowronek2015-11-05 06:46:23 +0100
commit713d5727c0d55a5f889c4b37778680adace2d50b (patch)
tree0f9ab7fb2723ff508c0573bf9beac9261ad9e4d9 /PKGBUILD
parent56112370e376ed95dad5774c0f08f4b7c2b3f4e6 (diff)
downloadaur-713d5727c0d55a5f889c4b37778680adace2d50b.tar.gz
Fix issue when GOPATH doesn't exist yet
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bb5587e7660..39bab77f7b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname="deis-client"
pkgver=1.12.0
-pkgrel=1
+pkgrel=2
pkgdesc="Command line interface client for Deis, an open source PaaS"`
`" that makes it easy to deploy and manage applications"`
`" on your own servers."
@@ -19,7 +19,7 @@ prepare() {
cd "${srcdir}"
# Delete old build just in case.
- find ./src -delete
+ [[ -d 'src' ]] && find ./src -ls
mkdir -p 'src/github.com/deis'
mv "deis-${pkgver}" 'src/github.com/deis/deis'