diff options
author | Étienne Deparis | 2022-09-21 11:29:24 +0200 |
---|---|---|
committer | Étienne Deparis | 2022-09-21 11:29:24 +0200 |
commit | 6faae59c1da1ab6e851452cf3744b9aa37687ee4 (patch) | |
tree | fdfbde1a6b542480afc776d94d1d92a8a572d8ce | |
parent | 0cdd54eba846d69f971a64d43286d778d99a3b45 (diff) | |
download | aur-6faae59c1da1ab6e851452cf3744b9aa37687ee4.tar.gz |
Protect pkgdir variable when it contains whitespaces
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by makepkg 6.0.1 -# Fri Sep 16 15:28:47 UTC 2022 +# Wed Sep 21 09:29:03 UTC 2022 pkgbase = edgar-ssh pkgdesc = A small utility to maintain SSH config files pkgver = 1.1 - pkgrel = 1 + pkgrel = 2 url = https://git.umaneti.net/edgar/about/ arch = any license = WTFPL @@ -2,7 +2,7 @@ pkgname=edgar-ssh _upname=edgar pkgver=1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A small utility to maintain SSH config files" arch=("any") url="https://git.umaneti.net/${_upname}/about/" @@ -14,6 +14,6 @@ sha256sums=('7cb686afdf9e94f586b93f54d88905331bbcdbdc929207e9b312eb362aab171a') package() { cd "${_upname}-$pkgver" - python setup.py install --no-compile --root=$pkgdir + python setup.py install --no-compile --root="$pkgdir" install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${_upname}/LICENSE" } |