THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

Fix building of docs with latest hugo version (#3856)

tags/v1.5.0-dev
Lauris BH 1 year ago
parent
commit
5424f75a63
No account linked to committer's email address
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      docs/scripts/trans-copy

+ 2
- 0
docs/scripts/trans-copy View File

@@ -28,6 +28,8 @@ for SOURCE in $(find ${ROOT}/content -type f -iname *.en-us.md); do
if [[ ! -f ${DEST} ]]; then
echo "Creating fallback for ${DEST#${ROOT}/content/}"
cp ${SOURCE} ${DEST}
sed -i.bak "s/en\-us/${LOCALE}/g" ${DEST}
rm ${DEST}.bak
fi
done
done

Loading…
Cancel
Save