summaryrefslogtreecommitdiff
path: root/user/sane
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-07-21 21:16:29 -0400
committerMax Rees <maxcrees@me.com>2019-07-21 21:16:29 -0400
commit57e345c7685983e629aac18a4e5b068392d29f6d (patch)
tree3382b950b7b2b20262401226e0495ef4a0d86514 /user/sane
parent28292506b3918b763ea272399044fcf72534aec2 (diff)
downloadpackages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.gz
packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.bz2
packages-57e345c7685983e629aac18a4e5b068392d29f6d.tar.xz
packages-57e345c7685983e629aac18a4e5b068392d29f6d.zip
user/*: bashism removal part 2 (o-z)
Diffstat (limited to 'user/sane')
-rw-r--r--user/sane/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/sane/APKBUILD b/user/sane/APKBUILD
index 941402502..a2f2c3a3a 100644
--- a/user/sane/APKBUILD
+++ b/user/sane/APKBUILD
@@ -66,7 +66,7 @@ check() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
- echo -n "" > "$pkgdir"/etc/sane.d/dll.conf
+ printf "" > "$pkgdir"/etc/sane.d/dll.conf
install -Dm644 backend/dll.aliases "$pkgdir"/etc/sane.d/dll.aliases
}
@@ -117,7 +117,7 @@ backends() {
}
_backend() {
- local name=${subpkgname#$pkgname-backend-}
+ local name="${subpkgname#$pkgname-backend-}"
depends="$pkgname"
pkgdesc=$(eval echo \$_pkgdesc_$name)
if [ ! "$pkgdesc" ]; then