Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/fpkg @ 144:6be3742d21f7
- FIX: Really print the version in check-ports
- Use "printf" for all version output now
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 30 Oct 2019 17:24:44 +0100 |
| parents | 993fecdf2a70 |
| children | 0e140f349924 |
comparison
equal
deleted
inserted
replaced
| 143:eb88d52613fe | 144:6be3742d21f7 |
|---|---|
| 239 # Global option handling | 239 # Global option handling |
| 240 # | 240 # |
| 241 while getopts "Vh" _opt ; do | 241 while getopts "Vh" _opt ; do |
| 242 case ${_opt} in | 242 case ${_opt} in |
| 243 V) | 243 V) |
| 244 echo "fpkg v${VERSION} (rv:@@HGREVISION@@)" | 244 printf 'fpkg v%s (rv:%s)\n' "${VERSION}" '@@HGREVISION@@' |
| 245 exit 0 | 245 exit 0 |
| 246 ;; | 246 ;; |
| 247 h) | 247 h) |
| 248 echo "${USAGE}" | 248 echo "${USAGE}" |
| 249 exit 0 | 249 exit 0 |
