diff options
author | Que Quotion | 2020-03-04 19:14:53 +0900 |
---|---|---|
committer | Que Quotion | 2020-03-04 19:14:53 +0900 |
commit | 231d8b3e857954e9de49f1a5766c75766888d64e (patch) | |
tree | 33270410b09f3577495c48b76fdf5b18332868b7 /PKGBUILD | |
parent | 8e76fa7af921d82159068405bb8aae9b15d1e98b (diff) | |
download | aur-231d8b3e857954e9de49f1a5766c75766888d64e.tar.gz |
Don't duplicate tidy scripts as executable scripts; actually install executable scripts
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,7 +3,7 @@ pkgname=makepkg-optimize pkgver=18 -pkgrel=2 +pkgrel=3 pkgdesc='Supplemental build and packaging optimizations for makepkg' arch=('any') license=('GPL') @@ -91,7 +91,8 @@ package() { install -m644 -D -t ${pkgdir}/usr/share/makepkg/buildenv/ ${_buildenv[@]%.in} # Executable finding scripts - install -m644 -D -t ${pkgdir}/usr/share/makepkg/executable/ ${_executable[@]//-exec.sh.in/.sh} + for i in ${_executable[@]%.in}; do + install -m644 -D -T ${i} ${pkgdir}/usr/share/makepkg/executable/${i//-exec.sh/.sh}; done # Supplemental Tidy scripts install -m644 -D -t ${pkgdir}/usr/share/makepkg/tidy/ ${_tidy[@]%.in} |