From b015e460989ca0c0b9a51e7f8259bbf1e69d4a31 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 16 Jun 2020 12:27:52 +0200 Subject: do not run loadkeys w/o arg we would if DEBUG_INSTALL_LANG is not set (mga#26782) Bug introduced in commit 5afc3e4932fdbcfa35c7fe6ae0b22cccd71958ce --- rescue/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rescue/Makefile') diff --git a/rescue/Makefile b/rescue/Makefile index 1f50534aa..eefbc9a79 100644 --- a/rescue/Makefile +++ b/rescue/Makefile @@ -11,7 +11,7 @@ install: $(RESCUE) cp -f $< $(STAGE2_DEST) $(RESCUE): $(wildcard tree/**/*) $(wildcard bin/*) $(wildcard sbin/*) make_rescue_img list.xml aliases - [ -n $$DEBUG_INSTALL_LANG ] && perl -pi -e '$$_ = "loadkeys '$$DEBUG_INSTALL_LANG'\n$$_" if /LANGUAGE/' tree/usr/bin/mageia-rescue + if [[ -n "$$DEBUG_INSTALL_LANG" ]]; then perl -pi -e '$$_ = "loadkeys '$$DEBUG_INSTALL_LANG'\n$$_" if /LANGUAGE/' tree/usr/bin/mageia-rescue; fi DISTRIB_DESCR=$(DISTRIB_DESCR) ./make_rescue_img dist: tar -- cgit v1.2.1