FreeBSD Port: BitTorrent-3.2.1b, arguments with spaces

Alexander K. Hudek alex at mernet.net
Thu Apr 24 21:34:25 PDT 2003


Mr Winter,

The /usr/local/bin/BitTorrent script does not handle strings with spaces
very well. For example:

BitTorrent "Test file.torrent"

does not work. To fix this just change $* to "$@" in the file
BitTorrent. Here is the correct script:

#!/bin/sh
/usr/local/bin/python2.2  /usr/local/share/BitTorrent/btdownloadgui.py "$@"

Alex



More information about the freebsd-ports mailing list