aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-13 03:01:31 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-13 03:01:31 +0000
commit510ebecfc447e1ef11c1c3b632ee1764b966406d (patch)
tree60930a47988ece4bd38631fc9fca793000f6765b
parentf884fcda381b64b297ed5c9ba09c3c73832ab0b3 (diff)
downloadlibrebootfr-510ebecfc447e1ef11c1c3b632ee1764b966406d.tar.gz
librebootfr-510ebecfc447e1ef11c1c3b632ee1764b966406d.zip
buildrom-withgrub: create the bin directory if it does not exist
Also, add the whole /bin/ directory to .gitignore
-rw-r--r--.gitignore2
-rwxr-xr-xbuildrom-withgrub5
2 files changed, 6 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index df3033f2..bc510f9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,7 +4,7 @@
/flashrom/
/grub/
/memtest86+-5.01/
-/bin/*
+/bin/
/grubinvaders/
/seabios/
/powertop/
diff --git a/buildrom-withgrub b/buildrom-withgrub
index 01d131ec..bd6c35fd 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.