aboutsummaryrefslogtreecommitdiff
path: root/arch/m32r/boot/compressed/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m32r/boot/compressed/install.sh')
-rw-r--r--arch/m32r/boot/compressed/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/m32r/boot/compressed/install.sh b/arch/m32r/boot/compressed/install.sh
index 6d72e9e7269..16e5a0a1343 100644
--- a/arch/m32r/boot/compressed/install.sh
+++ b/arch/m32r/boot/compressed/install.sh
@@ -24,8 +24,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