whoops, forgot to indicate the kind of hash for uuidgen

This commit is contained in:
/dev/urandom 2022-01-18 20:04:33 +03:00
parent 514b896770
commit 935547840b

View file

@ -87,7 +87,7 @@ for f in $FILES; do
echo "<item>" echo "<item>"
echo "<title>$TITLE</title>" echo "<title>$TITLE</title>"
echo "<link>https://devurandom.xyz/blog/$OUTPAGE</link>" echo "<link>https://devurandom.xyz/blog/$OUTPAGE</link>"
GUID=$(uuidgen -n @url -N "https://devurandom.xyz/blog/$OUTPAGE") GUID=$(uuidgen -n @url --sha1 -N "https://devurandom.xyz/blog/$OUTPAGE")
echo "<guid>$GUID</guid>" echo "<guid>$GUID</guid>"
if [ $MTIME -gt 0 ]; then if [ $MTIME -gt 0 ]; then
RDATE=`date -R -u -d @$MTIME` RDATE=`date -R -u -d @$MTIME`