summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉtienne Deparis2022-09-21 11:29:24 +0200
committerÉtienne Deparis2022-09-21 11:29:24 +0200
commit6faae59c1da1ab6e851452cf3744b9aa37687ee4 (patch)
treefdfbde1a6b542480afc776d94d1d92a8a572d8ce
parent0cdd54eba846d69f971a64d43286d778d99a3b45 (diff)
downloadaur-6faae59c1da1ab6e851452cf3744b9aa37687ee4.tar.gz
Protect pkgdir variable when it contains whitespaces
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8ee98ab4d0d3..a9b6c29fb28f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index a68b963fb4cc..bdbf45266873 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}