aboutsummaryrefslogtreecommitdiff
path: root/flash
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-15 23:11:58 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-15 23:11:58 +0000
commitd517d87ea061c53c0b9490b89dfda50cf84f4986 (patch)
treef485e4a956a7d91356512381f9555f9e82e22b71 /flash
parentd805f3ce2258ef7118f904e186f9ec45463a9a07 (diff)
downloadlibrebootfr-d517d87ea061c53c0b9490b89dfda50cf84f4986.tar.gz
librebootfr-d517d87ea061c53c0b9490b89dfda50cf84f4986.zip
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 48b41e74..9ac352fb 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"