diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | src-release.sh | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2019-10-17 Alan Modra <amodra@gmail.com> + + PR 29 + * src-release.sh (getver): Replace "head -1" with "head -n 1". + 2019-07-30 Nick Alcock <nick.alcock@oracle.com> * Makefile.def (host_modules): libctf is no longer no_install. diff --git a/src-release.sh b/src-release.sh index 90d5568..61d8c8b 100755 --- a/src-release.sh +++ b/src-release.sh @@ -66,7 +66,7 @@ getver() cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-git$//' rm -f VER.tmp elif test -f $tool/version.in; then - head -1 $tool/version.in + head -n 1 $tool/version.in else echo VERSION fi |