mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] scripts: genenv: remove empty files from tempdir
@ 2013-05-28  7:45 Jan Luebbe
  2013-05-28  8:11 ` Uwe Kleine-König
  2013-05-28 10:55 ` [SPAM] " Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Luebbe @ 2013-05-28  7:45 UTC (permalink / raw)
  To: barebox

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@pengutronix.de>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-05-28 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28  7:45 [PATCH] scripts: genenv: remove empty files from tempdir Jan Luebbe
2013-05-28  8:11 ` Uwe Kleine-König
2013-05-28 10:55 ` [SPAM] " Jean-Christophe PLAGNIOL-VILLARD
2013-05-28 16:34   ` Jan Lübbe

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