summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrufo2020-09-15 18:51:52 +0100
committergrufo2020-09-15 18:51:52 +0100
commit05de4a200e75512bcf52744cded628f81be74e71 (patch)
tree988496a59def6651783f8533f3f2f5de58982609
parent6d548732d2ef273e618aba9cb5acf6bde875f3f8 (diff)
downloadaur-05de4a200e75512bcf52744cded628f81be74e71.tar.gz
PKGBUILD: Added `chmod +x "${srcdir}/fulfill_template.sh"` in `package()`
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a3c30277e35..b129ac5d157 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -49,6 +49,8 @@ package() {
cd "${srcdir}"
+ chmod +x "${srcdir}/fulfill_template.sh"
+
# Taken from uld/noarch/package_utils -> specify_vendor()
local _vendor_lc="$(grep '^VENDOR=' "${srcdir}/${_pkgcodename}/noarch/oem.conf" 2>/dev/null | \
sed 's/VENDOR=\(.*\)/\1/' | tr A-Z a-z)"
@@ -100,11 +102,11 @@ package() {
install -Dm644 "${srcdir}/${_pkgcodename}/noarch/etc/smfp.conf" \
"${pkgdir}/etc/sane.d/smfp-hp.conf"
- ./fulfill_template.sh "${srcdir}/${_pkgcodename}/noarch/oem.conf" \
+ "${srcdir}/fulfill_template.sh" "${srcdir}/${_pkgcodename}/noarch/oem.conf" \
"${srcdir}/${_pkgcodename}/noarch/etc/smfp.rules.in" \
"${pkgdir}/etc/udev/rules.d/${_udev_rule_number}-smfp_${_vendor_lc}.rules"
- ./fulfill_template.sh "${srcdir}/${_pkgcodename}/noarch/oem.conf" \
+ "${srcdir}/fulfill_template.sh" "${srcdir}/${_pkgcodename}/noarch/oem.conf" \
"${srcdir}/${_pkgcodename}/noarch/etc/smfp.fdi.in" \
"${pkgdir}/usr/share/hal/fdi/policy/10osvendor/01_smfp_${_vendor_lc}.fdi"