On 08/02/2012 04:44 AM, Michal Soltys wrote:
On 2012-08-01 05:23, Chao Wang wrote:
This reverts commit b2d225a6698607bbcb73b6e6d12fbfc5be014102.


For the record, your original commit could work after setting:

shopt -s nullglob

For failing globs this expands to empty string and the loop is never
executed. All kinds of such checks could go away in any bash-expecting
script.

Good to know! Thank you!

-Chao
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to