Update update.sh

This commit is contained in:
1 file changed
+2 -1
+2 -1
View File
@@ -6,9 +6,10 @@ find -type f | grep ympbuild | while read line ; do
done
[[ -d output ]] && rm -rf output
mkdir -p output
echo "<h1><b>YMP index:</b></h1><br>" > output/index.html
find -type f | grep "source.ymp$" | sort -V | while read line ; do
mv $line output
echo "* <a href=\"$(basename $line)\">$(basename $line)</a><br>" >> output/index.html
done
ymp index output --allow-oem
echo "* <a href=\"ymp-index.yaml\">ymp-index.yaml</a><br>" >> output/index.html >> output/index.html
echo "* <a href=\"ymp-index.yaml\">ymp-index.yaml</a><br>" >> output/index.html