summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXZS2017-10-29 14:22:54 +0100
committerXZS2017-10-29 14:22:54 +0100
commit5014c7120d508b4f6386153489ad7d38fae6e850 (patch)
tree1ec608d7126515ea24eed7f1bebaa84ec6a99c69
parent816abfd33b98ef54afd4690487984169f58781ab (diff)
downloadaur-5014c7120d508b4f6386153489ad7d38fae6e850.tar.gz
change directory
This eases running more commands to come from there.
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4302ebbeb284..6c343aa0848b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,11 +33,12 @@ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
+ cd "$_gitname"
sed -i "
/^if/s/not//
/DATA_DIR =/s/$/[1:]/
/^EXTENSION_DIR =/s/path\\.join(/&DEST_DIR,/
- " "$_gitname"/meson_post_install.py
+ " meson_post_install.py
}
build() {