Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/fpkg @ 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 | 8675e1b7950c |
| children | 9c3b1966ba91 |
comparison
equal
deleted
inserted
replaced
| 385:d058f55fffea | 386:84d2735fe7f6 |
|---|---|
| 2 # -*- indent-tabs-mode: nil; -*- | 2 # -*- indent-tabs-mode: nil; -*- |
| 3 : 'A pkg frontend for common operations that also operates in all | 3 : 'A pkg frontend for common operations that also operates in all |
| 4 running jails. | 4 running jails. |
| 5 | 5 |
| 6 :Author: Franz Glasner | 6 :Author: Franz Glasner |
| 7 :Copyright: (c) 2019-2022 Franz Glasner. | 7 :Copyright: (c) 2019-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 |
| 321 # Global option handling | 321 # Global option handling |
| 322 # | 322 # |
| 323 while getopts "Vh" _opt ; do | 323 while getopts "Vh" _opt ; do |
| 324 case ${_opt} in | 324 case ${_opt} in |
| 325 V) | 325 V) |
| 326 printf 'fpkg v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@' | 326 printf 'fpkg %s\n' '@@SIMPLEVERSIONSTR@@' |
| 327 exit 0 | 327 exit 0 |
| 328 ;; | 328 ;; |
| 329 h) | 329 h) |
| 330 echo "${USAGE}" | 330 echo "${USAGE}" |
| 331 exit 0 | 331 exit 0 |
