skyhover / Deckard

Code clone detection; clone-related bug detection; sematic clone analysis
Other
209 stars 78 forks source link

On Bugfiltering #3

Closed Crimbo closed 12 years ago

Crimbo commented 12 years ago

Ln 52 scripts/bugfiltering filterpath = os.environ.get("DECKARD_DIR")

The bash crashes, stating it cannot find the Deckard path.

Crimbo commented 12 years ago

Quick fix: filterpath = 'path/to/Deckard'

The path has ' ' wrapped around it, so the variable can be saved as a string, and can be used elsewhere in the file.

skyhover commented 12 years ago

You can do this, but "bugfiltering" is more like an intermediate file. It's better to run "deckardd.sh" instead; it would tell you to set the env variables via "config" in the same way as the clone detection part.