aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/roms
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 03:00:29 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-30 03:00:29 +0100
commitd8e0d2fe09a663645cb82178e54169de4029e896 (patch)
tree5085fba9c5126934ae1ec3e799b421d327e26c64 /resources/scripts/helpers/build/roms
parent54aa29ae12ff414f4e23b7fa9bc9ba9c090782e0 (diff)
downloadlibrebootfr-d8e0d2fe09a663645cb82178e54169de4029e896.tar.gz
librebootfr-d8e0d2fe09a663645cb82178e54169de4029e896.zip
build/roms/withgrub_helper: don't use ls
Diffstat (limited to 'resources/scripts/helpers/build/roms')
-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 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"