4fe35097b3
If /system is empty, /tmp/addon.d/ will not exist, "*sh" won't be expanded, md5sum will not generate any output and the variable $s will be empty. Therefore grep, which will receive only one arg, will start to read the standard input and never exit, causing the installation to never end. Fix this checking whether we have files to read or not. Change-Id: I656eab42e54b3f81da8c5ac81374b9deddcf8484 |
||
---|---|---|
.. | ||
50-cm.sh | ||
backuptool.functions | ||
backuptool.sh | ||
blacklist | ||
otasigcheck.sh | ||
sysinit | ||
wget | ||
whitelist |