summaryrefslogtreecommitdiff
path: root/system/apk-tools/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/apk-tools/APKBUILD')
-rw-r--r--system/apk-tools/APKBUILD12
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
}