Skip to content

Commit

Permalink
Merge PR snabbco#834 (Update scripts/snabb_doc.sh for snabbco#829) in…
Browse files Browse the repository at this point in the history
…to max-next
  • Loading branch information
eugeneia committed Mar 21, 2016
2 parents 676a085 + 123e700 commit 9e5437f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/scripts/snabb_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ function tag_out { echo $docdir/tag/$1.html; }
function index_out { echo $docdir/index.html; }

function build_doc1 {
(cd $(repo_path)/src && git checkout $1 && make doc/snabbswitch.html) \
&& mv $(repo_path)/src/doc/snabbswitch.html $2
((cd $(repo_path)/src && git checkout $1 && make doc/snabbswitch.html) \
&& mv $(repo_path)/src/doc/snabbswitch.html $2) \
|| ((cd $(repo_path)/src && git checkout $1 && make obj/doc/snabbswitch.html) \
&& mv $(repo_path)/src/obj/doc/snabbswitch.html $2)
}
function build_doc {
Expand Down

0 comments on commit 9e5437f

Please sign in to comment.