summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGalen Sampson2014-07-28 23:10:09 -0700
committerGalen Sampson2014-07-28 23:10:09 -0700
commitcfce6e90f0bd83171bc5dcb666ba8c0e3ec992cf (patch)
tree8039ad66dac366a2213de62188797feb68009789
parent94229d26e44e78695b0bfc7b9cacd622b6e5b88f (diff)
downloadaur-cfce6e90f0bd83171bc5dcb666ba8c0e3ec992cf.tar.gz
build(): defensively specify $srcdir while changing directories.
* Defensively specify $srcdir while changing directories instead of assuming build() starts with the current directory of $srcdir.
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d973e6ec9f5d..757856b66508 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -78,7 +78,7 @@ prepare() {
}
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${srcdir}"/"${pkgname}-${pkgver}"
./configure --with-user=tserver --enable-layout=Arch
make