Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running from any directory #7

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -34,7 +34,6 @@ The following directions were tested on BitCurator 1.5.11. The following install
* `git clone https://github.com/simsong/dfxml/`
* `cd ../tests`
* `git clone https://github.com/dfxml-working-group/dfxml_schema`
* To run, you should be in the `hfs2dfxml/hfs2dfxml` directory

## How to use
To generate DFXML for an HFS-formatted volume, navigate to the hfs2dfxml directory and use:
Expand Down
2 changes: 1 addition & 1 deletion hfs2dfxml/hfs2dfxml.py
Expand Up @@ -22,7 +22,7 @@
from hashlib import sha1

# Import Python DFXML Bindings
sys.path.append('dfxml/python')
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'dfxml', 'python'))
import Objects as DFXML


Expand Down