diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-02-15 23:11:58 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-02-15 23:11:58 +0000 |
commit | d517d87ea061c53c0b9490b89dfda50cf84f4986 (patch) | |
tree | f485e4a956a7d91356512381f9555f9e82e22b71 | |
parent | d805f3ce2258ef7118f904e186f9ec45463a9a07 (diff) | |
download | librebootfr-d517d87ea061c53c0b9490b89dfda50cf84f4986.tar.gz librebootfr-d517d87ea061c53c0b9490b89dfda50cf84f4986.zip |
flash (script): Use "build" instead of "DEBLOB" to know if in src
-rwxr-xr-x | flash | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |