aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-02-01 18:12:24 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-02-01 18:12:24 +0000
commitc2a9c18e7cbfd9aacb917f526bcd04920ae1e6d5 (patch)
tree84161d33ade811cb3a7ffb851069dedb18038ec0
parentdfd0abfe8cf0bab3666e7f084179787ee6addda1 (diff)
downloadlibrebootfr-c2a9c18e7cbfd9aacb917f526bcd04920ae1e6d5.tar.gz
librebootfr-c2a9c18e7cbfd9aacb917f526bcd04920ae1e6d5.zip
lenovobios_firstflash: fix BASH errors
-rwxr-xr-xlenovobios_firstflash8
1 files changed, 2 insertions, 6 deletions
diff --git a/lenovobios_firstflash b/lenovobios_firstflash
index 9120001a..2d8ccec9 100755
--- a/lenovobios_firstflash
+++ b/lenovobios_firstflash
@@ -57,14 +57,10 @@ else
exit 1
fi
-# Set mucts
-$errOut = " \
- BUCTS failed. Make sure BUC.TS is 1, or else you will brick your machine. \
- ABORTING so as to protect against bricking the machine. \
- "
+# Set bucts
# this means we are working in src
if [ ! -f "$bucts" ]; then
- echo "$errOut"
+ echo "BUCTS failed. Make sure BUC.TS is 1, or else you will brick your machine. ABORTING so as to protect against bricking the machine."
exit 1
fi