Skip to content

Commit

Permalink
Fix building of docs with latest hugo version (go-gitea#3856)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks authored Apr 28, 2018
1 parent fb2f8dc commit 5424f75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/scripts/trans-copy
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5424f75

Please sign in to comment.