summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Skowronek2015-11-05 06:46:23 +0100
committerArthur Skowronek2015-11-05 06:46:23 +0100
commit713d5727c0d55a5f889c4b37778680adace2d50b (patch)
tree0f9ab7fb2723ff508c0573bf9beac9261ad9e4d9
parent56112370e376ed95dad5774c0f08f4b7c2b3f4e6 (diff)
downloadaur-713d5727c0d55a5f889c4b37778680adace2d50b.tar.gz
Fix issue when GOPATH doesn't exist yet
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e6549a0418d..edbce2ac8a9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = deis-client
pkgdesc = Command line interface client for Deis, an open source PaaS that makes it easy to deploy and manage applications on your own servers.
pkgver = 1.12.0
- pkgrel = 1
+ pkgrel = 2
url = http://deis.io/
arch = x86_64
arch = i686
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'