"sh -x build-aux/get-version-gen" outputs:
+ scriptversion=2022-07-09.08 + me=build-aux/git-version-gen + expr 2022-07-09.08 : \([^-]*\) + year=2022 + version=git-version-gen 2022-07-09.08 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + usage=Usage: build-aux/git-version-gen [OPTION]... $srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT] Print a version string. Options: --prefix PREFIX prefix of git tags (default 'v') --fallback VERSION fallback version to use if "git --version" fails --help display this help and exit --version output version information and exit Send patches and bug reports to <[email protected]>. + prefix=v + fallback= + test 0 -gt 0 + test x = x + echo Usage: build-aux/git-version-gen [OPTION]... $srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT] Print a version string. Options: --prefix PREFIX prefix of git tags (default 'v') --fallback VERSION fallback version to use if "git --version" fails --help display this help and exit --version output version information and exit Send patches and bug reports to <[email protected]>. Usage: build-aux/git-version-gen [OPTION]... $srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT] Print a version string. Options: --prefix PREFIX prefix of git tags (default 'v') --fallback VERSION fallback version to use if "git --version" fails --help display this help and exit --version output version information and exit Send patches and bug reports to <[email protected]>. + exit 1
