mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] rm vim swap file in genenv
@ 2013-11-07  3:40 张忠山
  2013-11-07  5:25 ` Alexander Aring
  0 siblings, 1 reply; 2+ messages in thread
From: 张忠山 @ 2013-11-07  3:40 UTC (permalink / raw)
  To: barebox; +Cc: 张忠山

From: 张忠山 <zzs0213@gmail.com>

Signed-off-by: 张忠山 <zzs0213@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
 
 $objtree/scripts/bareboxenv -s $tempdir $target
 
-- 
1.7.9.5



_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rm vim swap file in genenv
  2013-11-07  3:40 [PATCH] rm vim swap file in genenv 张忠山
@ 2013-11-07  5:25 ` Alexander Aring
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Aring @ 2013-11-07  5:25 UTC (permalink / raw)
  To: 张忠山; +Cc: barebox, 张忠山

On Thu, Nov 07, 2013 at 11:40:41AM +0800, 张忠山 wrote:
> From: 张忠山 <zzs0213@gmail.com>
> 
> Signed-off-by: 张忠山 <zzs0213@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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-07  5:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07  3:40 [PATCH] rm vim swap file in genenv 张忠山
2013-11-07  5:25 ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox