@@ -122,7 +122,8 @@ RUN sed -i \
/home/pokybuild/yocto-controller/master.cfg && \
# Comment any sched.Nightly schedulers \
# We try to support multilines code blocks by counting parenthesis \
- awk '/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \
+ awk -i inplace \
+ '/^schedulers.append\(sched.Nightly\(/{comment=1} /\(/{count+=gsub("\\(", "(")} /\)/{count-=gsub("\\)", ")")} {if (comment) {print "#" $0} else {print} if (count==0) comment=0}' \
/home/pokybuild/yocto-controller/yoctoabb/schedulers.py
COPY docker/entry.sh /
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)