Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Quote the root directory #116

Merged
merged 1 commit into from
Dec 18, 2017
Merged

Quote the root directory #116

merged 1 commit into from
Dec 18, 2017

Conversation

joshblum
Copy link
Contributor

@joshblum joshblum commented Oct 12, 2017

$ CODECOV_TOKEN=<removed> codecov

      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.9

==> Detecting CI provider
  -> Got branch from git/hg
  -> Got sha from git/hg
==> Preparing upload
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd /root/(myrepo) && git ls-files'
    Error running `cd /root/(myrepo) && git ls-files`: None
==> Processing gcov (disable by -X gcov)
    Executing gcov (find /root/(myrepo) -type f -name '*.gcno'  -exec gcov -pb  {} +)
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `find /root/(myrepo) -type f -name '*.gcno'  -exec gcov -pb  {} +'
    Error running `find /root/(myrepo) -type f -name '*.gcno'  -exec gcov -pb  {} +`: None
==> Collecting reports
    + /root/(myrepo)/coverage.xml bytes=250718
==> Uploading
    .url https://codecov.io
    .query  <removed>
    Pinging Codecov...
    Uploading to S3...
 <removed>

Fixes issue when the root directory has unescaped characters (parentheses for example).

@stevepeak stevepeak merged commit d8f9c7b into codecov:master Dec 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants