Re: [PATCH] Revert "dracut-functions: $_x should exist, no need to test."

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux