summaryrefslogtreecommitdiff
path: root/support/scripts
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-03-23 09:49:01 +0000
committerpaltherr <paltherr@epfl.ch>2004-03-23 09:49:01 +0000
commit071bc69d4d68711ece2e2800ca28c5e29913385f (patch)
treea29320d047ab7b72eedc1f51588703e3f37ff543 /support/scripts
parent8408bce1b7f9b46d3b80be82d75906ea573a5a2b (diff)
downloadscala-071bc69d4d68711ece2e2800ca28c5e29913385f.tar.gz
scala-071bc69d4d68711ece2e2800ca28c5e29913385f.tar.bz2
scala-071bc69d4d68711ece2e2800ca28c5e29913385f.zip
- Changed version format to <int>.<int>.<int>.<...
- Changed version format to <int>.<int>.<int>.<int>
Diffstat (limited to 'support/scripts')
-rw-r--r--support/scripts/version-manager.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/scripts/version-manager.sh b/support/scripts/version-manager.sh
index 0c7cbf66f8..9c7976872f 100644
--- a/support/scripts/version-manager.sh
+++ b/support/scripts/version-manager.sh
@@ -85,13 +85,13 @@ function version-manager() {
# check new value syntax, if command is "set"
if [ "$command" = "set" ]; then
local new_value="${args[2]}";
- if ! $program-check-syntax "$new_value-b0"; then
+ if ! $program-check-syntax "$new_value.0"; then
local -a error;
error[0]="version value '$new_value' does not conform";
error[1]="to version syntax <int>.<int>.<int>";
abort "${error[*]}";
fi;
- new_value="$new_value-b0";
+ new_value="$new_value.0";
fi;
# check file existence