Skip to contentSkip to conversation

rm vim swap file in genenv

PATCH In review 张忠山 2 participants 2 messages Nov 7, 2013

lore
Share & tools
lore

张忠山

author
#0 lore raw

PATCH 1/1 rm vim swap file in genenv

From: 张忠山 <[email protected]>

---
 scripts/genenv |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/genenv +1 -1
index c14cd87..bd4948e 100755
@@ -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
 
Signature · 8 lines
1.7.9.5



_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 12 lines · 张忠山

From: 张忠山 <[email protected]>

---
 scripts/genenv |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/genenv +0 -0
index c14cd87..bd4948e 100755

scripts/genenv for i in $*; do · line 28

Quoted 6 lines
scripts/genenv +1 -1
@@ -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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox