Skip to content
Snippets Groups Projects
Commit e75c5b93 authored by Andrey Zhizhikin's avatar Andrey Zhizhikin Committed by Tom Rini
Browse files

env: do not fail on non-existing env.in file


If include/generated/env.in does not exist, which is a typical case for
clean build, quiet_cmd_gen_envp command tries to delete this file
unconditionally.

This produces following warning during the build:
  ENVP    include/generated/env.in
rm: cannot remove 'include/generated/env.in': No such file or directory

Add '-f' option to the `rm` command to not complain if file does not
exist.

Fixes: f432eb6d ("env: Avoid using a leftover text-environment file")
Reviewed-by: default avatarSean Anderson <seanga2@gmail.com>
Signed-off-by: default avatarAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
parent 18288773
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment