comparison sbin/check-ports @ 386:84d2735fe7f6

Simplified version tagging a lot: it is also faster now. While being there: adjusting copyright year to end in 2023 now.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 23 Feb 2023 01:08:31 +0100
parents 8298a93dd083
children 9c3b1966ba91
comparison
equal deleted inserted replaced
385:d058f55fffea 386:84d2735fe7f6
2 # -*- indent-tabs-mode: nil; -*- 2 # -*- indent-tabs-mode: nil; -*-
3 : 'Check the version status of installed ports and compare them to 3 : 'Check the version status of installed ports and compare them to
4 version in remote repositories and the local ports index. 4 version in remote repositories and the local ports index.
5 5
6 :Author: Franz Glasner 6 :Author: Franz Glasner
7 :Copyright: (c) 2017-2022 Franz Glasner. 7 :Copyright: (c) 2017-2023 Franz Glasner.
8 All rights reserved. 8 All rights reserved.
9 :License: BSD 3-Clause "New" or "Revised" License. 9 :License: BSD 3-Clause "New" or "Revised" License.
10 See LICENSE for details. 10 See LICENSE for details.
11 If you cannot find LICENSE see 11 If you cannot find LICENSE see
12 <https://opensource.org/licenses/BSD-3-Clause> 12 <https://opensource.org/licenses/BSD-3-Clause>
13 :ID: @(#)@@PKGORIGIN@@ $HGid$ 13 :ID: @(#)@@SIMPLEVERSIONTAG@@
14 14
15 ' 15 '
16 16
17 VERSION='@@VERSION@@' 17 VERSION='@@VERSION@@'
18 18
495 option_packages="" 495 option_packages=""
496 496
497 while getopts "VhAansv" _opt ; do 497 while getopts "VhAansv" _opt ; do
498 case ${_opt} in 498 case ${_opt} in
499 V) 499 V)
500 printf 'check-ports v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@' 500 printf 'check-ports %s\n' '@@SIMPLEVERSIONSTR@@'
501 exit 0 501 exit 0
502 ;; 502 ;;
503 h) 503 h)
504 echo "${USAGE}" 504 echo "${USAGE}"
505 exit 0 505 exit 0