Skip to content

Commit

Permalink
setup.py: fix bug related to BORG_LZ4_PREFIX processing
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Oct 11, 2015
1 parent 1c61f87 commit 8eaf460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def detect_lz4(prefixes):

possible_lz4_prefixes = ['/usr', '/usr/local', '/usr/local/opt/lz4', '/usr/local/lz4', '/usr/local/borg', '/opt/local']
if os.environ.get('BORG_LZ4_PREFIX'):
possible_openssl_prefixes.insert(0, os.environ.get('BORG_LZ4_PREFIX'))
possible_lz4_prefixes.insert(0, os.environ.get('BORG_LZ4_PREFIX'))
lz4_prefix = detect_lz4(possible_lz4_prefixes)
if lz4_prefix:
include_dirs.append(os.path.join(lz4_prefix, 'include'))
Expand Down

0 comments on commit 8eaf460

Please sign in to comment.