vendor/bliss: Fix changelog with broken repo forall -p
Change-Id: Ia95cf5103fc7ed665f6cafb3c93f8adaca469d1e
diff --git a/tools/changelog b/tools/changelog
index c33b243..d986061 100755
--- a/tools/changelog
+++ b/tools/changelog
@@ -29,7 +29,8 @@
echo >> $Changelog;
# Cycle through every repo to find commits between 2 dates
- repo forall -pc 'git log --oneline --after=$After_Date --until=$Until_Date' >> $Changelog
+ CURRENT_PATH="$(realpath `pwd`)"
+ repo forall -c "GIT_LOG=\`git log --oneline --after=$After_Date --until=$Until_Date\` ; if [ ! -z \"\$GIT_LOG\" ]; then printf '\n * '; realpath \`pwd\` | sed 's|^$CURRENT_PATH/||' ; echo \"\$GIT_LOG\"; fi" >> $Changelog
echo >> $Changelog;
done