summaryrefslogtreecommitdiff
path: root/kernel/postinst.d/initramfs-tools
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/postinst.d/initramfs-tools')
-rwxr-xr-xkernel/postinst.d/initramfs-tools2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/postinst.d/initramfs-tools b/kernel/postinst.d/initramfs-tools
index b389921..b4b286d 100755
--- a/kernel/postinst.d/initramfs-tools
+++ b/kernel/postinst.d/initramfs-tools
@@ -9,7 +9,7 @@ bootopt=""
# kernel-package passes an extra arg
if [ -n "$2" ]; then
if [ -n "${KERNEL_PACKAGE_VERSION}" ]; then
- ${bootdir}= $(dirname "$2")
+ bootdir=$(dirname "$2")
bootopt="-b ${bootdir}"
else
exit 0