libebml: fix do_unpack failure

| DEBUG: Executing shell function dos2unix
| /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libebml/1.3.0-r0/temp/run.dos2unix.30265:104:
  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libebml/1.3.0-r0/temp/run.dos2unix.30265:cannot open make/*/Makefile: No such file
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: dos2unix (log file is located at

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2016-07-27 16:37:49 +02:00
parent 8f4c447cc7
commit 26fbc9bf45
@@ -14,7 +14,7 @@ do_unpack[postfuncs] += "dos2unix"
dos2unix () {
cr="$(printf '\r')"
for f in make/*/Makefile; do
for f in ${S}/make/*/Makefile; do
tr -d "$cr" <"$f" >"$f.new" && \
mv "$f.new" "$f"
done