Make collect_project work with init files again. A regression test
has been added.
Signed-off-by: Tobias Ulmer <tu@emlix.com>
NEXT:
+ * Unbreak collect_project functionality with files in proj/init.
e2factory-2.3.14
done
# install result stuff
mkdir -p $chroot_path/tmp/e2/{script,init,env,dep,build,out,root}
-if [ ! proj/init/* = 'proj/init/*' ]; then
+if [ ! "$(echo proj/init/*)" = 'proj/init/*' ]; then
cp -v proj/init/* $chroot_path/tmp/e2/init
fi
cp -v res/$RESULT/{build-driver,buildrc,build-script} \