Updated build.sh to properly reset the current branch while building documentation.
Merge branch 'v5-stable' of github.com:rsyslog/rsyslog-doc into v5-stable
Merge branch 'v5-stable' of github.com:rsyslog/rsyslog-doc into v5-stable
Merge branch 'v5-stable' into v7-stable
Merge branch 'v7-stable' of github.com:rsyslog/rsyslog-doc into v7-stable