From: Roland Häder Date: Thu, 17 Aug 2023 04:24:25 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a4fdf7e49e1a56fdd7a6083727813bd5cf2158e6;p=jprojects-scripts.git Continued: - updated year - fixed grep --- diff --git a/make-javadoc.sh b/make-javadoc.sh index 27dcbc6..92db6f6 100755 --- a/make-javadoc.sh +++ b/make-javadoc.sh @@ -42,8 +42,8 @@ for project in ${LIST}; do 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." diff --git a/update-year-jprojects.sh b/update-year-jprojects.sh index 9672a32..b174364 100755 --- a/update-year-jprojects.sh +++ b/update-year-jprojects.sh @@ -19,8 +19,8 @@ for project in ${LIST}; do 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)