Skip to content

Commit

Permalink
Detect if doc/make_doc is not executable
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Sep 20, 2024
1 parent 0a06644 commit 2259736
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ runs:
[ -d ../../doc ] && echo "../../doc exists" || ln -s $HOME/gap/doc ../../doc
[ -d ../../etc ] && echo "../../etc exists" || ln -s $HOME/gap/etc ../../etc
cd doc && ./make_doc
elif [ -f "doc/make_doc" ]; then
echo "doc/make_doc exists but is not executable!"
exit 1
else
echo "no makedoc.g file or doc/make_doc script found!"
exit 1
Expand Down

0 comments on commit 2259736

Please sign in to comment.