diff options
author | Francis Rowe <info@gluglug.org.uk> | 2014-11-09 08:17:55 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2014-11-09 08:17:55 +0000 |
commit | 418b0919babffc568f0e5a6ca09e13b618e6b730 (patch) | |
tree | 018a96954ba7ff060be53630a263cdbd988b9a17 | |
parent | 97ad3a33c4070ea72e76b22ae095664cb1b16837 (diff) | |
download | librebootfr-418b0919babffc568f0e5a6ca09e13b618e6b730.tar.gz librebootfr-418b0919babffc568f0e5a6ca09e13b618e6b730.zip |
buildrom-withgrub: surround board variable with quotes
-rwxr-xr-x | buildrom-withgrub | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/buildrom-withgrub b/buildrom-withgrub index 81dcdb13..34e16127 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 ../ |