[packages/chromium-browser/DEVEL] fix libxml clean

glen glen at pld-linux.org
Fri Jan 4 22:43:47 CET 2013


commit 3d71a211facb78c9c01a8eff423ca5466d716c61
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 3 14:54:59 2013 +0200

    fix libxml clean

 clean-source.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/clean-source.sh b/clean-source.sh
index 802da65..4ee5e2c 100755
--- a/clean-source.sh
+++ b/clean-source.sh
@@ -434,9 +434,6 @@ remove_nonessential_dirs() {
 # list based from archlinux PKGBUILD
 # https://aur.archlinux.org/packages/ch/chromium-dev/PKGBUILD
 clean_third_party() {
-	# move around to keep third_party/libxml/chromium
-	mv third_party/libxml/chromium libxml-chromium
-
 	find third_party -type f \! -iname '*.gyp*' \
 		\! -path 'third_party/angle/*' \
 		\! -path 'third_party/cacheinvalidation/*' \
@@ -502,9 +499,6 @@ clean_third_party() {
 		\! -path 'third_party/libvpx/*' \
 		-print -delete
 
-	install -d third_party/libxml
-	mv libxml-chromium third_party/libxml/chromium
-
 	rm -vf third_party/expat/files/lib/expat.h
 }
 
@@ -555,6 +549,9 @@ almost_strip_dirs \
 	win8 \
 | tee -a REMOVED-stripped.txt
 
+# move around to keep third_party/libxml/chromium
+mv third_party/libxml/chromium libxml-chromium
+
 strip_system_dirs \
 	native_client/src/third_party_mod/jsoncpp \
 	third_party/bzip2 \
@@ -579,6 +576,9 @@ strip_system_dirs \
 	v8 \
 | tee -a REMOVED-system_dirs.txt
 
+install -d third_party/libxml
+mv libxml-chromium third_party/libxml/chromium
+
 clean_third_party | tee -a REMOVED-third_party.txt
 
 if [ "${v8:-1}" != "0" ]; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/4884fc995902450f6cd5512b71e22d5566e4448d



More information about the pld-cvs-commit mailing list