Chromium Code Reviews| Index: remoting/host/installer/linux/build-deb.sh |
| diff --git a/remoting/host/installer/linux/build-deb.sh b/remoting/host/installer/linux/build-deb.sh |
| index 520477622b757e8e67a82d880e21bb118604a9ad..3b2d04d632e8f09b9c3e3d236abe051f87ffe81f 100755 |
| --- a/remoting/host/installer/linux/build-deb.sh |
| +++ b/remoting/host/installer/linux/build-deb.sh |
| @@ -5,8 +5,14 @@ |
| # found in the LICENSE file. |
| if [[ -z "$version_full" ]]; then |
| - echo 'Error: $version_full not set' |
| - exit 1 |
| + src_root=./../../../.. |
| + version_helper=$src_root/chrome/tools/build/version.py |
| + version_base=$($version_helper -f $src_root/remoting/VERSION \ |
| + -t "@MAJOR@.@MINOR@") |
| + version_build=$($version_helper -f $src_root/chrome/VERSION \ |
| + -t "@BUILD@.@PATCH@") |
| + version_full="$version_base.$version_build" |
| + echo "Building version $version_full" |
|
Jamie
2012/08/27 20:21:10
Drive-by: This line should probably be outside the
Sergey Ulanov
2012/08/27 20:55:40
Done.
|
| fi |
| # Create a fresh debian/changelog. |