[PATCH] rm vim swap file in genenv

Alexander Aring alex.aring at gmail.com
Thu Nov 7 00:25:13 EST 2013


On Thu, Nov 07, 2013 at 11:40:41AM +0800, 张忠山 wrote:
> From: 张忠山 <zzs0213 at gmail.com>
> 
> Signed-off-by: 张忠山 <zzs0213 at gmail.com>
> ---
>  scripts/genenv |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/genenv b/scripts/genenv
> index c14cd87..bd4948e 100755
> --- a/scripts/genenv
> +++ b/scripts/genenv
> @@ -24,7 +24,7 @@ for i in $*; do
>  done
>  )
>  
> -find $tempdir -name '.svn' -o -name '*~' -delete
> +find $tempdir -name '.svn' -o -name '*~' -o -name '*.swp' -delete
>  
That reminds me on one day where I found many of these files in a
bareboxenv. But there wasn't only *.swp files there was a lot of barebox
source files, too.

So maybe we should add '*.swp' '*.c' '*.h' '*.o'.


Wasn't funny when I stumble over that :(

- Alex



More information about the barebox mailing list