summaryrefslogtreecommitdiffstats
path: root/buildrom-withgrub
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-12 22:01:31 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-12 22:01:31 (EST)
commit510ebecfc447e1ef11c1c3b632ee1764b966406d (patch)
tree60930a47988ece4bd38631fc9fca793000f6765b /buildrom-withgrub
parentf884fcda381b64b297ed5c9ba09c3c73832ab0b3 (diff)
downloadlibreboot-510ebecfc447e1ef11c1c3b632ee1764b966406d.zip
libreboot-510ebecfc447e1ef11c1c3b632ee1764b966406d.tar.gz
libreboot-510ebecfc447e1ef11c1c3b632ee1764b966406d.tar.bz2
buildrom-withgrub: create the bin directory if it does not exist
Also, add the whole /bin/ directory to .gitignore
Diffstat (limited to 'buildrom-withgrub')
-rwxr-xr-xbuildrom-withgrub5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildrom-withgrub b/buildrom-withgrub
index 01d131e..bd6c35f 100755
--- a/buildrom-withgrub
+++ b/buildrom-withgrub
@@ -31,6 +31,11 @@ if (( $# != 1 )); then
exit 1
fi
+if [ ! -d "bin" ]
+then
+ mkdir bin/
+fi
+
cd coreboot
# Build ROM images with text-mode and corebootfb modes.