Skip to content

Commit

Permalink
Make build.sh usable without the gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
seanthegeek committed Feb 18, 2025
1 parent b51756b commit 5273948
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ cd docs
make clean
make html
touch build/html/.nojekyll
cp -rf build/html/* ../../parsedmarc-docs/
if [ -d "./../parsedmarc-docs" ]; then
cp -rf build/html/* ../../parsedmarc-docs/
fi
cd ..
./sortmaps.py
python3 tests.py
Expand Down

1 comment on commit 5273948

@lluuaapp
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is something wrong with the paths. You are checking for "./../parsedmarc-docs" (current dir's parent) but are copying to "../../parsedmarc-docs" (parent of current dir's parent).

Please sign in to comment.