| 88 | | printf "Please enter the version of the GPP [%s]: " $GPP_version |
| 89 | | printf "Please enter the version of the OSSIE CF [%s]: " $GPP_version |
| 90 | | printf "Please enter the version of standardInterfaces [%s]: " $GPP_version |
| 91 | | printf "Please enter the version of WaveDev [%s]: " $GPP_version |
| 92 | | printf "Please enter the version of the default GPP node [%s]: " $GPP_version |
| 93 | | printf "Please enter the version of the domain [%s]: " $GPP_version |
| 94 | | printf "Please enter the version of nodebooter [%s]: " $GPP_version |
| | 88 | printf "\nWe now need to set the version number for each of the software |
| | 89 | packages you are building. Please enter the versions for the following |
| | 90 | packages. Leave the input blank to accept the current version.\n" |
| | 91 | |
| | 92 | # Get new version numbers |
| | 93 | printf "GPP [%s]: " $GPP_version |
| | 94 | read ver_input |
| | 95 | if [ ! -z $ver_input ] |
| | 96 | then |
| | 97 | $GPP_version=ver_input |
| | 98 | fi |
| | 99 | |
| | 100 | printf "OSSIE CF [%s]: " $ossie_cf_version |
| | 101 | read ver_input |
| | 102 | if [ ! -z $ver_input ] |
| | 103 | then |
| | 104 | $ossie_cf_version=ver_input |
| | 105 | fi |
| | 106 | |
| | 107 | printf "standardInterfaces [%s]: " $standard_interfaces_version |
| | 108 | read ver_input |
| | 109 | if [ ! -z $ver_input ] |
| | 110 | then |
| | 111 | $standard_interfaces_version=ver_input |
| | 112 | fi |
| | 113 | |
| | 114 | printf "WaveDev [%s]: " $WaveDev_version |
| | 115 | read ver_input |
| | 116 | if [ ! -z $ver_input ] |
| | 117 | then |
| | 118 | $WaveDev_version=ver_input |
| | 119 | fi |
| | 120 | |
| | 121 | printf "default GPP node [%s]: " $default_GPP_node_version |
| | 122 | read ver_input |
| | 123 | if [ ! -z $ver_input ] |
| | 124 | then |
| | 125 | $default_GPP_node_version=ver_input |
| | 126 | fi |
| | 127 | |
| | 128 | printf "domain [%s]: " $domain_version |
| | 129 | read ver_input |
| | 130 | if [ ! -z $ver_input ] |
| | 131 | then |
| | 132 | $domain_version=ver_input |
| | 133 | fi |
| | 134 | |
| | 135 | printf "nodebooter [%s]: " $nodebooter_version |
| | 136 | read ver_input |
| | 137 | if [ ! -z $ver_input ] |
| | 138 | then |
| | 139 | $GPP_version=ver_input |
| | 140 | fi |
| | 141 | |
| | 142 | # Set package versions in spec files |
| | 143 | sed "s/^Version:.*$/Version:${GPP_version}/" ${GPP_spec} |