Skip to content

Commit

Permalink
Remove trailing nonsense from uname -r.
Browse files Browse the repository at this point in the history
Helps to ensure that OS_VERSION matches pkgsrc, at least Linux now works
correctly.  More may yet be needed.
  • Loading branch information
Jonathan Perkin committed Jul 21, 2021
1 parent 4130456 commit d2e74a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite/common.bash
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ create_pkg_buildinfo()

echo "MACHINE_ARCH=$(bmake -V MACHINE_ARCH)" >>${build_info}
echo "OPSYS=$(uname -s)" >>${build_info}
echo "OS_VERSION=$(uname -r)" >>${build_info}
echo "OS_VERSION=$(uname -r | sed -e 's/-.*//')" >>${build_info}
echo "PKGTOOLS_VERSION=20091115" >>${build_info}

for arg; do
Expand Down

0 comments on commit d2e74a1

Please sign in to comment.