]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Tweaks to UpdatePoint
authorHarlan Stenn <stenn@ntp.org>
Tue, 27 Feb 2018 10:59:07 +0000 (05:59 -0500)
committerHarlan Stenn <stenn@ntp.org>
Tue, 27 Feb 2018 10:59:07 +0000 (05:59 -0500)
bk: 5a9539fbkF9dKn6g9iBsOeQ7IUvpVA

scripts/build/UpdatePoint

index 61c034983b6c17ce8ec0158efc21f5477860cf4b..1b115397a55bc49ba8724d87ee447896cd5385f2 100755 (executable)
@@ -127,6 +127,7 @@ case "$repo" in
  stable)
     case "$prerelease" in
      '')
+       # echo "Checking <$betapoint::$rcpoint::$point>"
        case "$betapoint::$rcpoint::$point" in
         *::*::NEW)
            # new minor release (no p)
@@ -148,6 +149,14 @@ case "$repo" in
            # bp=1
            # bbp=0
            ;;
+        ::[Gg][Oo]::*)
+           # echo "Good - betapoint is empty.  Look in $0 and figure out what's going on here."
+           crcp=z
+           ;;
+        *::[Gg][Oo]::*)
+           echo "betapoint is NOT empty.  Look in $0 and figure out what's going on here."
+           test=1
+           ;;
         *) echo "betapoint is <$betapoint>, rcpoint is <$rcpoint>"
            echo "betapoint must be 0 and rcpoint must be empty to start the"
            echo "beta cycle."
@@ -265,7 +274,18 @@ case "$crcp::$rcpoint" in
     ;;
  z::*)
     newrcpoint=
-    newbetapoint=0
+    case "$repo" in
+     dev)
+       newbetapoint=0
+       ;;
+     stable)
+       newbetapoint=
+       ;;
+     *)
+       echo "crcp::rcpoint - bogus repo <$repo>"
+       exit 1
+       ;;
+    esac
     ;;
  *) echo "Unexpected value for 'crcp::rcpoint' <$crcp::$rcpoint>!"
     exit 1