diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-11-06 03:05:16 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-11-06 03:05:16 +0000 |
commit | 56878e05bf9e889f28c93f71934bdede2aecc4de (patch) | |
tree | 4eba8e77dfb30a9b1906872719f82c11cf30ad93 /resources/scripts | |
parent | 0a3c0421b4b110906a88e1ff9967fffb8a968cd7 (diff) | |
download | librebootfr-56878e05bf9e889f28c93f71934bdede2aecc4de.tar.gz librebootfr-56878e05bf9e889f28c93f71934bdede2aecc4de.zip |
build/roms/withgrub: use sub shell instead of cd ../
Diffstat (limited to 'resources/scripts')
-rwxr-xr-x | resources/scripts/helpers/build/roms/withgrub | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 89b8b00b..3a77f828 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -32,6 +32,7 @@ printf "Building ROM images with the GRUB payload\n" # Put GRUB payloads and config files # in the coreboot directory, ready for next step +( cd "coreboot/" for romtype in txtmode vesafb; do cd ../resources/utilities/grub-assemble @@ -50,7 +51,7 @@ for romtype in txtmode vesafb; do sed "s/grubtest.cfg/grub.cfg/" < "grub_${keymap}_${romtype}.cfg" > "grub_${keymap}_${romtype}_test.cfg" done done -cd .. +) # Build ROM images for supported boards buildrom() { |