summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-29 22:00:29 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-08-29 22:00:29 (EDT)
commitd8e0d2fe09a663645cb82178e54169de4029e896 (patch)
tree5085fba9c5126934ae1ec3e799b421d327e26c64 /resources/scripts/helpers/build
parent54aa29ae12ff414f4e23b7fa9bc9ba9c090782e0 (diff)
downloadlibreboot-d8e0d2fe09a663645cb82178e54169de4029e896.zip
libreboot-d8e0d2fe09a663645cb82178e54169de4029e896.tar.gz
libreboot-d8e0d2fe09a663645cb82178e54169de4029e896.tar.bz2
build/roms/withgrub_helper: don't use ls
Diffstat (limited to 'resources/scripts/helpers/build')
-rwxr-xr-xresources/scripts/helpers/build/roms/withgrub_helper2
1 files changed, 1 insertions, 1 deletions
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"