diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-04-07 08:29:34 +0000 |
---|---|---|
committer | <> | 2015-04-13 18:52:43 +0000 |
commit | b2ccf8dd31d1457ae9f0ae270054117179220370 (patch) | |
tree | 4ccd4a16d5e9ef5869630ba624e822665a6e248c /scripts/build/UpdatePoint | |
parent | bdab5265fcbf3f472545073a23f8999749a9f2b9 (diff) | |
download | ntp-master.tar.gz |
Imported from /home/lorry/working-area/delta_ntp/ntp-4.2.8p2.tar.gz.HEADntp-4.2.8p2master
Diffstat (limited to 'scripts/build/UpdatePoint')
-rwxr-xr-x | scripts/build/UpdatePoint | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/scripts/build/UpdatePoint b/scripts/build/UpdatePoint index e3c5957..61c0349 100755 --- a/scripts/build/UpdatePoint +++ b/scripts/build/UpdatePoint @@ -217,20 +217,26 @@ case "$repo" in ;; esac -case "$bp::$point" in - 0::*) +case "$repo::$bp::$point" in + *::0::*) newpoint=$point ;; - 1::[1-9]*) + dev::1::0) + newpoint=`expr $point + 1` + ;; + *::1::[1-9]*) newpoint=`expr $point + 1` ;; - 1::) + dev::1::) + newpoint=0 + ;; + stable::1::) newpoint=1 ;; - 1::[Nn][Ee][Ww]) + *::1::[Nn][Ee][Ww]) newpoint= ;; - *) echo "Unexpected value for 'point' <$point>!" + *) echo "Unexpected value for 'point' <$point>! (repo::bp::point is $repo::$bp::$point)" exit 1 ;; esac |