From: Patrick Talbert <ptalbert(a)redhat.com>
redhat: genlog.sh should expect genlog.py in the current directory
MR !2095 shuffled around the scripts and incorrectly changed the
expected path of genlog.py. Fix it.
Signed-off-by: Patrick Talbert <ptalbert(a)redhat.com>
diff --git a/redhat/scripts/genspec/genlog.sh b/redhat/scripts/genspec/genlog.sh
index blahblah..blahblah 100755
--- a/redhat/scripts/genspec/genlog.sh
+++ b/redhat/scripts/genspec/genlog.sh
@@ -32,7 +32,7 @@ cversion="[$DISTBASEVERSION]";
echo "* $cdate $cname $cversion" > "$clogf"
git log --topo-order --no-merges -z "$GIT_NOTES" "$GIT_FORMAT" \
- ^"${UPSTREAM}" "$lasttag".. -- ':!/redhat/rhdocs' |
"${0%/*}"/scripts/genspec/genlog.py >> "$clogf"
+ ^"${UPSTREAM}" "$lasttag".. -- ':!/redhat/rhdocs' |
"${0%/*}"/genlog.py >> "$clogf"
if [ "$HIDE_REDHAT" = "1" ]; then
grep -v -e "^- \[redhat\]" "$clogf" |
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2167