From 418b0919babffc568f0e5a6ca09e13b618e6b730 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Sun, 9 Nov 2014 08:17:55 +0000 Subject: buildrom-withgrub: surround board variable with quotes --- buildrom-withgrub | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/buildrom-withgrub b/buildrom-withgrub index 81dcdb1..34e1612 100755 --- a/buildrom-withgrub +++ b/buildrom-withgrub @@ -38,7 +38,7 @@ rm -rf .config # prepare libreboot configuration and build it # it is assumed that these configs use coreboot text-mode # instead of coreboot framebuffer, by default -cp ../resources/libreboot/config/$1/config .config +cp ../resources/libreboot/config/"$1"/config .config # coreboot.rom will appear under ./coreboot/build make # move it out (we'll be cleaning the build) @@ -126,15 +126,15 @@ rm -rf grub*cfg # ---------------------------------------------------------------------------------------------------------------------------- # prepare directory for new ROM images -rm -rf $1 -mkdir $1 +rm -rf "$1" +mkdir "$1" # move the ROM's into the newly created directory -mv libreboot*rom $1 +mv libreboot*rom "$1" # delete the old ROM's from ../bin -rm -rf ../bin/$1 +rm -rf ../bin/"$1" # now put the new ROM's in ./bin -mv $1 ../bin +mv "$1" ../bin # go back to main source directory cd ../ -- cgit v1.1-4-g5e80