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

Side by Side Diff: build-aux/version.sh

Issue 7109015: Update XZ Utils to 5.0.3 (in deps) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/xz/
Patch Set: Created 9 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « build-aux/manconv.sh ('k') | configure.ac » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:executable
- *
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 ############################################################################# 3 #############################################################################
4 # 4 #
5 # Get the version string from version.h and print it out without 5 # Get the version string from version.h and print it out without
6 # trailing newline. This makes it suitable for use in configure.ac. 6 # trailing newline. This makes it suitable for use in configure.ac.
7 # 7 #
8 ############################################################################# 8 #############################################################################
9 # 9 #
10 # Author: Lasse Collin 10 # Author: Lasse Collin
11 # 11 #
12 # This file has been put into the public domain. 12 # This file has been put into the public domain.
13 # You can do whatever you want with this file. 13 # You can do whatever you want with this file.
14 # 14 #
15 ############################################################################# 15 #############################################################################
16 16
17 sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/ 17 sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
18 s/LZMA_VERSION_STABILITY_BETA/beta/ 18 s/LZMA_VERSION_STABILITY_BETA/beta/
19 s/LZMA_VERSION_STABILITY_STABLE// 19 s/LZMA_VERSION_STABILITY_STABLE//
20 s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \ 20 s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \
21 src/liblzma/api/lzma/version.h \ 21 src/liblzma/api/lzma/version.h \
22 | tr '\n' '|' \ 22 | tr '\n' '|' \
23 | sed 's/|/./; s/|/./; s/|//g' \ 23 | sed 's/|/./; s/|/./; s/|//g' \
24 | tr -d '\n' 24 | tr -d '\n'
OLDNEW
« no previous file with comments | « build-aux/manconv.sh ('k') | configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698