Fixing a bug with multiple files in is_live_path after the last commit.
authorMichael Stummvoll <michael@stummi.org>
Wed, 27 Mar 2013 15:22:05 +0000 (16:22 +0100)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 6 May 2013 11:54:16 +0000 (13:54 +0200)
commitd93e867ac670b8345d154ccbd04b28d1c0291da1
treee5940574f517d05b769cec117907621600f302bf
parent0f10a899281806360e427b5cfdd0474c8bad2d85
Fixing a bug with multiple files in is_live_path after the last commit.

The version in the last commit has a bug handling multiple files in
is_live_path, the fix introduces file_pattern_matches() which checks for $1
only. So even if there are multiple files matching the pattern only the first
one will go into the [ -e ... ] expression.
scripts/boot/9990-misc-helpers.sh