blob: 2594c63ab84cea3308c54664f55bba7f2a01b650 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- src/gnome-btdownload.orig Sun Nov 7 20:26:43 2004
+++ src/gnome-btdownload Sun Nov 7 20:28:36 2004
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# BitTorrent related modules.
import BitTorrent.download, BitTorrent.bencode
@@ -72,7 +72,7 @@
# Fallback wrapper
if not locate_file:
def fallback_locate_attempt_prefixes(path):
- prefixes = ['', 'usr/', 'usr/local/']
+ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/']
# Try them locally
for prefix in prefixes:
|