Update daily_README.yaml

This commit is contained in:
Alexandre
2022-04-22 11:06:43 +02:00
committed by GitHub
parent ae0ccc2a34
commit 90fed72afe

View File

@@ -35,7 +35,7 @@ jobs:
done done
# Populate template # Populate template
find -- * -maxdepth 0 -type d | sort -r | while read f; do find -- * -maxdepth 0 -type d | sort -r | while read -r f; do
# $f is an addon directory # $f is an addon directory
if [ -f "$f/config.json" ]; then if [ -f "$f/config.json" ]; then
echo "Project $f" echo "Project $f"
@@ -56,10 +56,10 @@ jobs:
done done
# Restore folders name # Restore folders name
for f in */; do find -- * -maxdepth 0 -type d | sort -r | while read -r f; do
if [ -f "${f}oldname" ]; then if [ -f "$f/oldname" ]; then
NAME="$(cat "${f}oldname")" NAME="$(cat "$/f/oldname")"
rm "$f"oldname" rm "$f"/oldname
mv "$f" "$NAME" mv "$f" "$NAME"
fi fi
done done