Skip to content

Commit

Permalink
Fix building of docs with latest hugo version (#3856) (#3862)
Browse files Browse the repository at this point in the history
  • Loading branch information
lafriks authored Apr 30, 2018
1 parent af7779d commit 24dd77e
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 24dd77e

Please sign in to comment.