VirtualBox

Changeset 69365 in vbox


Ignore:
Timestamp:
Oct 26, 2017 3:17:14 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118689
Message:

tools/bin/ose-tarball.sh: adjust for Version.kmk.
bugref:9009: Release process: improvements

ose-tarball.sh also depended on the version information in Config.kmk. Fix
that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/ose-tarball.sh

    r69210 r69365  
    11#!/bin/sh
    2 ## @file
    32# Use this script in conjunction with snapshot-ose.sh
    4 #
    5 
    6 #
    7 # Copyright (C) 2006-2017 Oracle Corporation
    8 #
    9 # This file is part of VirtualBox Open Source Edition (OSE), as
    10 # available from http://www.virtualbox.org. This file is free software;
    11 # you can redistribute it and/or modify it under the terms of the GNU
    12 # General Public License (GPL) as published by the Free Software
    13 # Foundation, in version 2 as it comes in the "COPYING" file of the
    14 # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
    15 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    16 #
    173
    184vboxdir=`pwd`
     
    2511  exit 1
    2612fi
    27 vermajor=`grep "^VBOX_VERSION_MAJOR *=" "$vboxdir/Config.kmk"|sed -e "s|.*= *\(.*\)|\1|g"`
    28 verminor=`grep "^VBOX_VERSION_MINOR *=" "$vboxdir/Config.kmk"|sed -e "s|.*= *\(.*\)|\1|g"`
    29 verbuild=`grep "^VBOX_VERSION_BUILD *=" "$vboxdir/Config.kmk"|sed -e "s|.*= *\(.*\)|\1|g"`
     13vermajor=`grep "^VBOX_VERSION_MAJOR *=" "$vboxdir/Version.kmk"|sed -e "s|.*= *\(.*\)|\1|g"`
     14verminor=`grep "^VBOX_VERSION_MINOR *=" "$vboxdir/Version.kmk"|sed -e "s|.*= *\(.*\)|\1|g"`
     15verbuild=`grep "^VBOX_VERSION_BUILD *=" "$vboxdir/Version.kmk"|sed -e "s|.*= *\(.*\)|\1|g"`
    3016rootpath=`cd ..;pwd`
    3117verstr="$vermajor.$verminor.$verbuild"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette