diff options
author | Étienne Deparis | 2022-09-21 11:30:58 +0200 |
---|---|---|
committer | Étienne Deparis | 2022-09-21 11:30:58 +0200 |
commit | e8cd0f524a09eaee3a29c7cae69e44045d923194 (patch) | |
tree | d1ccebbec903643773151e0a2c32c06e6a34a95c /PKGBUILD | |
parent | 7fd04bd57ef0b0e7bd174fd1d6bd6d8efb549156 (diff) | |
download | aur-eg.tar.gz |
Protect pkgdir variable when it contains whitespaces
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ pkgname=eg pkgver=1.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="Useful examples at the command line" license=("MIT") url="https://github.com/srsudar/eg" @@ -15,6 +15,6 @@ options=(!emptydirs) package() { cd "${srcdir}/${pkgname}-${pkgver}" - python setup.py install --root=$pkgdir + python setup.py install --root="$pkgdir" install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |