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

Unified Diff: 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/test_files.sh ('k') | windows/INSTALL-Windows.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: version.sh
===================================================================
--- version.sh (revision 50504)
+++ version.sh (working copy)
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-#############################################################################
-#
-# Get the version string from version.h and print it out without
-# trailing newline. This makes it suitable for use in configure.ac.
-#
-#############################################################################
-#
-# Author: Lasse Collin
-#
-# This file has been put into the public domain.
-# You can do whatever you want with this file.
-#
-#############################################################################
-
-sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
- s/LZMA_VERSION_STABILITY_BETA/beta/
- s/LZMA_VERSION_STABILITY_STABLE//
- s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \
- src/liblzma/api/lzma/version.h \
- | tr '\n' '|' \
- | sed 's/|/./; s/|/./; s/|//g' \
- | tr -d '\n'
« no previous file with comments | « tests/test_files.sh ('k') | windows/INSTALL-Windows.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698