|
|
Migration from Git with 0.33rc1 changes.
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
#
# $Id: version.sh,v 1.1 2026/05/08 03:23:59 asm Exp $
#
# Gets version string.
# Called by configure.ac via m4_esyscmd_s.
#
# Copyright (C) 2026 Free Software Foundation, Inc.
#
# Author: Anton McClure <asm@gnu.org>
if [ -f .ver ]; then
ver=$(cat .ver)
if [ -z "$ver" ]; then
echo "error: .ver is empty" >&2
exit 1
fi
echo "$ver"
exit 0
fi