File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 22Scripts to download and run the latest Linux build of Chromium.
33Note that it is the latest development version, not the last stable one.
44This build is recommended for testing only.
5+ 
6+ ## Usage  
7+ 
8+ Download and runs the latest build of Chromium
9+ 
10+     $ ./update-and-run.sh 
11+ 
12+ Download a specific revision
13+ 
14+     $ export REVISION=492595 
15+     $ ./update-and-run.sh 
16+ 
17+ The same use is possible with ./update.sh
Original file line number Diff line number Diff line change @@ -4,9 +4,13 @@ cd $(dirname $0)
44
55LASTCHANGE_URL=" https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2FLAST_CHANGE?alt=media" 
66
7- REVISION=$( curl -s -S $LASTCHANGE_URL ) 
7+ if  [ -z  " $REVISION " ;  then 
8+  REVISION=$( curl -s -S $LASTCHANGE_URL ) 
89
9- echo  " latest revision is $REVISION " 
10+   echo  " latest revision is $REVISION " 
11+ else 
12+   echo  " Using given revision $REVISION  as latest revision" 
13+ fi 
1014
1115if  [ -d  $REVISION  ] ;  then 
1216  echo  " already have latest version" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments