]> git.saurik.com Git - cydia.git/blobdiff - Library/firmware.sh
Add timestamping to _trace.
[cydia.git] / Library / firmware.sh
index c1a7f7f498dba775fc8e3eff984c92e8462f83e8..a45fd2182cdf750d81b9697b151985c0edd79305 100755 (executable)
@@ -3,7 +3,7 @@
 version=$(sw_vers -productVersion)
 
 if grep '^Package: firmware$' /var/lib/dpkg/status >/dev/null; then
 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
         if [[ ${line} == 'Package: firmware' ]]; then
             firmware=
         elif [[ ${line} == '' ]]; then