public
Last active

  • Download Gist
swift.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
diff -rcN pkg/usr/share/tribler/Tribler/Main/tribler.py pkg-f/usr/share/tribler/Tribler/Main/tribler.py
*** pkg/usr/share/tribler/Tribler/Main/tribler.py 2012-08-03 10:24:26.000000000 -0400
--- pkg-f/usr/share/tribler/Tribler/Main/tribler.py 2012-08-18 21:08:55.012180457 -0400
***************
*** 414,420 ****
print >> sys.stderr, "Tribler is using", self.sconfig.get_install_dir(), "as working directory"
# Arno, 2012-05-21: Swift part II
! swiftbinpath = os.path.join(self.sconfig.get_install_dir(),"swift")
if sys.platform == "darwin":
if not os.path.exists(swiftbinpath):
swiftbinpath = os.path.join(os.getcwdu(),"..","MacOS","swift")
--- 414,420 ----
print >> sys.stderr, "Tribler is using", self.sconfig.get_install_dir(), "as working directory"
# Arno, 2012-05-21: Swift part II
! swiftbinpath = "/usr/bin/swift"
if sys.platform == "darwin":
if not os.path.exists(swiftbinpath):
swiftbinpath = os.path.join(os.getcwdu(),"..","MacOS","swift")

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.