cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhaisaab <>
Subject [GitHub] cloudstack pull request: Fix the bug when build apidoc under windo...
Date Thu, 12 Mar 2015 11:17:04 GMT
Github user bhaisaab commented on a diff in the pull request:
    --- Diff: tools/apidoc/ ---
    @@ -62,7 +62,18 @@ set -e
      sed -e 's,%API_HEADER%,Root Admin API,g' "$thisdir/generatetoc_header.xsl" >generatetocforadmin.xsl
      sed -e 's,%API_HEADER%,Domain Admin API,g' "$thisdir/generatetoc_header.xsl" >generatetocfordomainadmin.xsl
    - python "$thisdir/" $(find . -type f)
    + WINOS=`uname -s|grep -i WIN`
    + gen_toc_file=''
    + if [ "x$WINOS" != "x" ]; then
    + gen_toc_file="`cygpath -w $thisdir`\\"
    + else
    + gen_toc_file="$thisdir/"
    + fi
    + argfiles=`find . -type f`
    --- End diff --
    Instead of looping on the found files (argfiles), you can simply give pass it to gen_toc_file?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message