From a57f26f2c62805b9e61719361ca17ccf53c897ad Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sat, 29 Aug 2015 23:47:29 -0400 Subject: all scripts: general fixes and clean up --- (limited to 'resources/scripts/helpers/build/roms/withgrub') diff --git a/resources/scripts/helpers/build/roms/withgrub b/resources/scripts/helpers/build/roms/withgrub index 5d2f31b..de70b24 100755 --- a/resources/scripts/helpers/build/roms/withgrub +++ b/resources/scripts/helpers/build/roms/withgrub @@ -35,7 +35,7 @@ fi boards="unknown" if [ $# -gt 0 ]; then # build only the ROM images that were requested - boards="$@" + boards="${*}" else # build all ROM images boards="$(for board in resources/libreboot/config/grub/*; do printf "%s\n" "${board##*/}"; done)" @@ -71,7 +71,7 @@ cd ../ for board in ${boards} do if [ -f "resources/libreboot/config/grub/${board}/config" ]; then - ./build roms withgrub_helper ${board} + ./build roms withgrub_helper "${board}" fi done @@ -122,6 +122,3 @@ rm -f "coreboot/grub_txtmode.elf" rm -f coreboot/grub*cfg printf "\n\n" - -# ------------------- DONE ---------------------- - -- cgit v0.9.1