Revert do not run out of file descriptors if rpm

This reverts commit 51f68fefe79c74eace0b3747e53f88d076407b4e.
This does not work, due to the while loop is now done in a subshell, so
global vars are not accessible inside the while loop

[script] revert: do not run out of file descriptors if rpm has...

Signed-off-by: Reto Zingg <reto.zingg@jolla.com>
[script] be less strict with qrc:/ check

Signed-off-by: Reto Zingg <reto.zingg@jolla.com>
[script] workaround file descriptor limit

Signed-off-by: Reto Zingg <reto.zingg@jolla.com>
Merge pull request #3 from sailfish-sdk/fix-qrc-n-descriptor-limits

Fix qrc and descriptor limits