Skip to content

Commit a6dd169

Browse files
committed
Try more robust way to copy docs/public/* to docs/dist/*
1 parent 004a879 commit a6dd169

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/scripts/build-docs.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PKG=BsReactNative
55
DOCS=docs/dist
66
LIB=./lib/bs/src
77
PAGES=./docs/pages
8-
PUBLIC=./docs/public/
8+
PUBLIC=./docs/public
99
ODOC=$(which odoc)
1010
if [[ $? != 0 ]] ; then
1111
echo "Missing odoc, please look at the CONTRIBUTING.md guide"
@@ -56,7 +56,7 @@ done
5656
echo ">> Done!"
5757

5858
echo "<< Adding static public files..."
59-
cp -r ${PUBLIC} ${DOCS}
59+
cp -r ${PUBLIC}/* ${DOCS}
6060
echo ">> Done!"
6161

6262
echo "<< Editing html files to inject meta..."

0 commit comments

Comments
 (0)