summaryrefslogtreecommitdiffstats
path: root/buildrom-withgrub
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-11-09 03:17:55 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-11-09 03:17:55 (EST)
commit418b0919babffc568f0e5a6ca09e13b618e6b730 (patch)
tree018a96954ba7ff060be53630a263cdbd988b9a17 /buildrom-withgrub
parent97ad3a33c4070ea72e76b22ae095664cb1b16837 (diff)
downloadlibreboot-418b0919babffc568f0e5a6ca09e13b618e6b730.zip
libreboot-418b0919babffc568f0e5a6ca09e13b618e6b730.tar.gz
libreboot-418b0919babffc568f0e5a6ca09e13b618e6b730.tar.bz2
buildrom-withgrub: surround board variable with quotes
Diffstat (limited to 'buildrom-withgrub')
-rwxr-xr-xbuildrom-withgrub12
1 files 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 ../