summaryrefslogtreecommitdiff
path: root/Library/firmware.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Library/firmware.sh')
-rwxr-xr-xLibrary/firmware.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/firmware.sh b/Library/firmware.sh
index c1a7f7f..a45fd21 100755
--- a/Library/firmware.sh
+++ b/Library/firmware.sh
@@ -3,7 +3,7 @@
version=$(sw_vers -productVersion)
if grep '^Package: firmware$' /var/lib/dpkg/status >/dev/null; then
- cat /var/lib/dpkg/status | while read -r line; do
+ cat /var/lib/dpkg/status | while IFS= read -r line; do
if [[ ${line} == 'Package: firmware' ]]; then
firmware=
elif [[ ${line} == '' ]]; then