summaryrefslogtreecommitdiffstats
path: root/flash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-15 18:11:58 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-02-15 18:11:58 (EST)
commitd517d87ea061c53c0b9490b89dfda50cf84f4986 (patch)
treef485e4a956a7d91356512381f9555f9e82e22b71 /flash
parentd805f3ce2258ef7118f904e186f9ec45463a9a07 (diff)
downloadlibreboot-d517d87ea061c53c0b9490b89dfda50cf84f4986.zip
libreboot-d517d87ea061c53c0b9490b89dfda50cf84f4986.tar.gz
libreboot-d517d87ea061c53c0b9490b89dfda50cf84f4986.tar.bz2
flash (script): Use "build" instead of "DEBLOB" to know if in src
Diffstat (limited to 'flash')
-rwxr-xr-xflash4
1 files changed, 2 insertions, 2 deletions
diff --git a/flash b/flash
index 48b41e7..9ac352f 100755
--- a/flash
+++ b/flash
@@ -70,7 +70,7 @@ mode=$1
rompath=$2
flashrom="unknown"
-if [ -f "DEBLOB" ]; then
+if [ -f "build" ]; then
# git or libreboot_src
flashrom="./flashrom/flashrom"
else
@@ -87,7 +87,7 @@ bucts="unknown"
flashrom_lenovobios_sst="unknown"
flashrom_lenovobios_macronix="unknown"
if [ "$mode" = "i945lenovo_firstflash" ] || [ "$mode" = "i945lenovo_secondflash" ]; then
- if [ -f "DEBLOB" ]; then
+ if [ -f "build" ]; then
# git or libreboot_src
bucts="./bucts/bucts"
flashrom_lenovobios_sst="./flashrom/flashrom_lenovobios_sst"