packages: chromium-browser/chromium-daily-tarball.sh - update from upstream

glen glen at pld-linux.org
Wed Dec 2 07:23:28 CET 2009


Author: glen                         Date: Wed Dec  2 06:23:28 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update from upstream

---- Files affected:
packages/chromium-browser:
   chromium-daily-tarball.sh (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/chromium-browser/chromium-daily-tarball.sh
diff -u packages/chromium-browser/chromium-daily-tarball.sh:1.3 packages/chromium-browser/chromium-daily-tarball.sh:1.4
--- packages/chromium-browser/chromium-daily-tarball.sh:1.3	Sun Sep 20 12:23:24 2009
+++ packages/chromium-browser/chromium-daily-tarball.sh	Wed Dec  2 07:23:21 2009
@@ -7,12 +7,15 @@
 TODAYSDATE=`date +%Y%m%d`
 USAGE="Usage: chromium-daily-tarball.sh [-hrv]"
 VERBOSE=false
+CLEAN=false
 
 
-while getopts "hrv" opt; do
+while getopts "chrv" opt; do
    case $opt in
+      c  ) CLEAN=true ;;
       h  ) printf "$USAGE\n"
            printf "\nAvailable command line options:\n"
+           printf "%b\t-c\t\tmake tarball of clean source, nothing removed/altered\n"
            printf "%b\t-h\t\tthis help\n"
            printf "%b\t-r\t\tremove conflicting chromium files/directories\n"
            printf "%b\t-v\t\tverbose output\n\n"
@@ -113,6 +116,10 @@
 
 FULLVER=`echo ${TODAYSDATE}svn${SVNREV}`
 
+if [ "$CLEAN" = "true" ]; then
+   printf "[CLEAN] Not removing unnecessary third_party bits\n"
+else
+
 # Remove third party bits that we have on the system
 if [ "$VERBOSE" = "true" ]; then
    printf "[VERBOSE]: Removing unnecessary third_party bits\n"
@@ -141,6 +148,9 @@
    printf "[VERBOSE]: Removing reference_build prebuilt binaries\n"
 fi
 find src -depth -name reference_build -type d -exec rm -rf {} \;
+
+# Clean
+fi
 
 # Gclient embeds the full checkout path all over the .scons files. We'll replace it with a known dummy tree, which we can sed out
 # in the rpm spec.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser/chromium-daily-tarball.sh?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list