Test that filter backup module files (files starting with ~)
was accidentally reversed in
e6039e6e3b98d6ab91252a5012d76279b1fac6e8,
this patch restore initial behavior.
(From OE-Core master rev:
b2eb846ee12989add7a7ca8bbf45f293a3a7e56d)
Signed-off-by: Michaël Burtin <michael.burtin@innotis.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
# Load and run modules
for m in $MODULES_DIR/*; do
# Skip backup files
- if [ "`echo $m | sed -e 's/\~$//'`" = "$m" ]; then
+ if [ "`echo $m | sed -e 's/\~$//'`" != "$m" ]; then
continue
fi