summaryrefslogtreecommitdiffstats
path: root/arch/sh/boot/compressed/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boot/compressed/install.sh')
-rw-r--r--arch/sh/boot/compressed/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boot/compressed/install.sh b/arch/sh/boot/compressed/install.sh
index 90589f0fec12..f9f41818b17e 100644
--- a/arch/sh/boot/compressed/install.sh
+++ b/arch/sh/boot/compressed/install.sh
@@ -23,8 +23,8 @@
# User may have a custom install script
-if [ -x /sbin/installkernel ]; then
- exec /sbin/installkernel "$@"
+if [ -x /sbin/${INSTALLKERNEL} ]; then
+ exec /sbin/${INSTALLKERNEL} "$@"
fi
if [ "$2" = "zImage" ]; then