summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Osvaldo Barrera2015-11-29 21:27:02 -0300
committerHugo Osvaldo Barrera2015-11-29 21:27:02 -0300
commit7a3b8f784ab3dad539b020ac30c1e48d9d098e6e (patch)
tree1c7b928e05e053a0aef145118fa738ae4d5bfa3e
parentd4afbb29816ce2519e3473bb5669eff225f2c741 (diff)
downloadaur-7a3b8f784ab3dad539b020ac30c1e48d9d098e6e.tar.gz
Always use absolute directory paths
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eb102f006d3..c9fb2187125 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,11 +28,11 @@ pkgver() {
}
build() {
- cd $_pkgname
+ cd "$srcdir/$_pkgname"
python setup.py build
}
package() {
- cd $_pkgname
+ cd "$srcdir/$_pkgname"
python setup.py install --root="$pkgdir"
}