2
0
This repository has been archived on 2025-11-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

12 lines
256 B
Bash
Executable File

#!/bin/bash
version="${1}"
if [[ -z "${version}" ]]; then
echo "usage: supply a cap/psx module version to target"
exit 1
fi
for x in $(find . -name 'go.mod'); do
sed -i -e 's@kernel.org/\([^ ]*\) v.*$@kernel.org/\1 '"${version}@" "${x}"
done