From d8e0d2fe09a663645cb82178e54169de4029e896 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 30 Aug 2015 03:00:29 +0100 Subject: build/roms/withgrub_helper: don't use ls --- resources/scripts/helpers/build/roms/withgrub_helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/scripts/helpers/build/roms') diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper index fbd0cfd6..05f5bf2b 100755 --- a/resources/scripts/helpers/build/roms/withgrub_helper +++ b/resources/scripts/helpers/build/roms/withgrub_helper @@ -97,7 +97,7 @@ do fi # Add the correct GRUB configuration file for this image. - for keymap in $(ls ../resources/utilities/grub-assemble/keymap/original) + for keymap in $(for keymap in ../resources/utilities/grub-assemble/keymap/original/*; do printf "%s\n" "${keymap##*/}"; done) do # copy the images based on the keymap cp "${1}_${romtype}.rom" "${1}_${keymap}_${romtype}.rom" -- cgit v1.2.3-70-g09d2