- updated year
- fixed grep
echo "$0: Cleaning up Javadoc for '${project}' ..."
rm -rf dist/javadoc/
- M=$(grep "${project}" "${UNMAINTAINED}")
- B=$(grep "${project}" "${BROKEN}")
+ M=$(echo "${UNMAINTAINED}" | grep "${project}")
+ B=$(echo "${BROKEN}" | grep "${project}")
if [ -f "src/.gitkeep" ]
then
echo "$0: project='${project}' has a .gitkeep file in 'src', won't scan."
echo "$0: Updating (c) year in '${project}' ..."
# Update both years when a new year has reached
- find */ -type f -print0 | xargs -0 sed -i 's/2020, 2022/2020 - 2022/g'
- find */ -type f -print0 | xargs -0 sed -i 's/2020 Free Software/2022 Free Software/g'
+ find */ -type f -print0 | xargs -0 sed -i 's/2020, 2022/2020 - 2023/g'
+ find */ -type f -print0 | xargs -0 sed -i 's/2022 Free Software/2023 Free Software/g'
DIFF=$(git diff)