summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-10-20 16:32:50 +0200
committerhaawda2019-10-20 16:32:50 +0200
commit22eb5ffdd687a3b6a83ac34823d196bbf2620d83 (patch)
tree77279e9e4ad399f8b2f99eea4386c2f3d70b650f
parentdd8c20a2ac4f0ea9196a0a090590bd74bbe8c6e4 (diff)
downloadaur-22eb5ffdd687a3b6a83ac34823d196bbf2620d83.tar.gz
add quoting
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fe8e324848b..bb41153fa97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,13 +16,13 @@ md5sums=('SKIP')
_gitname="yasnippets-latex"
pkgver() {
- cd "$srcdir"/$_gitname
+ cd $_gitname
echo $(git log -1 --format="%cd" --date=short | sed 's+-+_+g')
}
package(){
- cd ${srcdir}/$_gitname
- install -d ${pkgdir}/usr/share/emacs/site-lisp/yas/snippets/latex-mode
- ./install.sh ${pkgdir}/usr/share/emacs/site-lisp/yas
+ cd $_gitname
+ install -d "$pkgdir"/usr/share/emacs/site-lisp/yas/snippets/latex-mode
+ ./install.sh "$pkgdir"/usr/share/emacs/site-lisp/yas
}