summaryrefslogtreecommitdiff
path: root/Library/firmware.sh
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2014-05-11 20:41:48 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2014-05-11 20:41:48 -0700
commit55589708b11f37d4f349c3a68f52bd3a1636ed8d (patch)
tree2f59c62d7efa5adcac9527e66a462ed899cf85f1 /Library/firmware.sh
parent51c8106a07e9e4055950cc7d453902414e4cc5dd (diff)
Use separate lines for all post-gssc sed commands.
Diffstat (limited to 'Library/firmware.sh')
-rwxr-xr-xLibrary/firmware.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/firmware.sh b/Library/firmware.sh
index d87a564..afaae9a 100755
--- a/Library/firmware.sh
+++ b/Library/firmware.sh
@@ -101,7 +101,8 @@ EOF
echo "${gssc}" | sed -re '
/^ [^ ]* = [0-9.]*;$/ ! d;
s/^ ([^ ]*) = ([0-9.]*);$/\1 \2/;
- s/([A-Z])/-\L\1/g; s/^"([^ ]*)"/\1/;
+ s/([A-Z])/-\L\1/g;
+ s/^"([^ ]*)"/\1/;
s/^-//;
/ 0$/ d;
' | while read -r name value; do case "${name}" in