[SPAM] [PATCH] scripts: genenv: remove empty files from tempdir

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue May 28 06:55:38 EDT 2013


On 09:45 Tue 28 May     , Jan Luebbe wrote:
> This allows leaving out default files from the environment by overriding
> them with empty files in the board or BSP.
> 
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> ---
can we move it to the buildir and keep it

and no need to have a uniq name everytime
>  scripts/genenv | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/genenv b/scripts/genenv
> index 374db6d..3e91062 100755
> --- a/scripts/genenv
> +++ b/scripts/genenv
> @@ -24,7 +24,7 @@ for i in $*; do
>  done
>  )
>  
> -find $tempdir -name '.svn' -o -name '*~' | xargs --no-run-if-empty rm -r
> +find $tempdir -name '.svn' -o -name '*~' -o -size 0 | xargs --no-run-if-empty rm -r
>  
>  $objtree/scripts/bareboxenv -s $tempdir $target
>  
> -- 
> 1.8.2.rc2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



More information about the barebox mailing list