diff options
author | Max Rees <maxcrees@me.com> | 2019-07-21 04:02:27 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-07-21 04:43:04 -0400 |
commit | 23bcb3767f6d16eaba523055f0b8474bfbae16ba (patch) | |
tree | 95327b88bac6651c45ca92c099d4fb300716ba49 /system/apk-tools/APKBUILD | |
parent | d3eb7058d8f66a7fa94c262314df4c95a76a36fc (diff) | |
download | packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.gz packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.bz2 packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.tar.xz packages-23bcb3767f6d16eaba523055f0b8474bfbae16ba.zip |
system/*: initial bashism removal
Diffstat (limited to 'system/apk-tools/APKBUILD')
-rw-r--r-- | system/apk-tools/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/apk-tools/APKBUILD b/system/apk-tools/APKBUILD index 86a15d28a..5305ed1cb 100644 --- a/system/apk-tools/APKBUILD +++ b/system/apk-tools/APKBUILD @@ -56,16 +56,16 @@ static() { # lets sign the static binary so it can be vefified from distros # that does not have apk-tools - local abuild_conf=${ABUILD_CONF:-"/etc/abuild.conf"} - local abuild_home=${ABUILD_USERDIR:-"$HOME/.abuild"} - local abuild_userconf=${ABUILD_USERCONF:-"$abuild_home/abuild.conf"} + local abuild_conf="${ABUILD_CONF:-"/etc/abuild.conf"}" + local abuild_home="${ABUILD_USERDIR:-"$HOME/.abuild"}" + local abuild_userconf="${ABUILD_USERCONF:-"$abuild_home/abuild.conf"}" [ -f "$abuild_userconf" ] && . "$abuild_userconf" local privkey="$PACKAGER_PRIVKEY" - local pubkey=${PACKAGER_PUBKEY:-"${privkey}.pub"} - local keyname=${pubkey##*/} + local pubkey="${PACKAGER_PUBKEY:-"${privkey}.pub"}" + local keyname="${pubkey##*/}" ${CROSS_COMPILE}strip "$subpkgdir"/sbin/apk.static openssl dgst -sha1 -sign "$privkey" \ - -out "$subpkgdir"/sbin/apk.static.SIGN.RSA.$keyname \ + -out "$subpkgdir/sbin/apk.static.SIGN.RSA.$keyname" \ "$subpkgdir"/sbin/apk.static } |