Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: chrome/tools/build/win/make_chromebot_zip.sh

Issue 174372: Add license information to our shell scripts. (Closed)
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/tools/build/linux/sed.sh ('k') | chrome/tools/build/win/make_zip.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
3 # A simple shell script for creating necessary zip files for ChromeBot runs 7 # A simple shell script for creating necessary zip files for ChromeBot runs
4 # from an output directory. 8 # from an output directory.
5 # Pass the path to the output directory you wish to package. 9 # Pass the path to the output directory you wish to package.
6 10
7 if [ $# = 0 ]; then 11 if [ $# = 0 ]; then
8 echo "usage: make_chromebot_zip.sh path/to/release/dir [output-name]" 12 echo "usage: make_chromebot_zip.sh path/to/release/dir [output-name]"
9 exit 1 13 exit 1
10 fi 14 fi
11 15
12 tools_dir=$(dirname "$0") 16 tools_dir=$(dirname "$0")
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 # Again, use cp --parents to copy full relative directory. Since we need the 56 # Again, use cp --parents to copy full relative directory. Since we need the
53 # relative directory for the zip, change into the release dir. 57 # relative directory for the zip, change into the release dir.
54 sym_output_abs=`cygpath -a $sym_output` 58 sym_output_abs=`cygpath -a $sym_output`
55 pushd "$release_dir" 59 pushd "$release_dir"
56 for f in ${sym_files[@]}; do 60 for f in ${sym_files[@]}; do
57 cp -r --parents "$f" "$sym_output_abs" 61 cp -r --parents "$f" "$sym_output_abs"
58 done 62 done
59 popd 63 popd
60 64
61 zip -r $sym_output.zip $sym_output 65 zip -r $sym_output.zip $sym_output
OLDNEW
« no previous file with comments | « chrome/tools/build/linux/sed.sh ('k') | chrome/tools/build/win/make_zip.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698