mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user