From d8e0d2fe09a663645cb82178e54169de4029e896 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 29 Aug 2015 22:00:29 -0400 Subject: build/roms/withgrub_helper: don't use ls --- (limited to 'resources') diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper index fbd0cfd..05f5bf2 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 v0.9.1