[PATCH] rm vim swap file in genenv

张忠山 zzs213 at 126.com
Wed Nov 6 22:40:41 EST 2013


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
 
 $objtree/scripts/bareboxenv -s $tempdir $target
 
-- 
1.7.9.5





More information about the barebox mailing list