[packages/chromium-browser/DEVEL] do not keep README.chromium and patches/

glen glen at pld-linux.org
Thu Jan 3 00:59:40 CET 2013


commit 0e30827261fb6f89345973863652df2cd757fdeb
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 3 01:58:21 2013 +0200

    do not keep README.chromium and patches/
    
    they are not neccessary for build

 clean-source.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/clean-source.sh b/clean-source.sh
index 0348875..0937baa 100755
--- a/clean-source.sh
+++ b/clean-source.sh
@@ -428,8 +428,7 @@ strip_system_dirs() {
 		# skip already removed dirs
 		test -d $dir || continue
 
-		# here we ignore errors, as some dirs contain README.chromium after removal
-		find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' -o -name README.chromium -o -name '*.patch' -o -path $dir/$lib.h \) -print -delete || :
+		find $dir -depth -mindepth 1 \! \( -name '*.gyp' -o -name '*.gypi' -o -path $dir/$lib.h \) -print -delete
 	done
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/1c00315ba1b9a7e3807f16be63b5ef119effb362



More information about the pld-cvs-commit mailing list