Charles
Joined: 06 Nov 2007 Posts: 20
|
Posted: Tue Jul 28, 2009 5:23 pm Post subject: Bug in updateminiupnpstrings.sh |
|
|
From http://trac.transmissionbt.com/ticket/2296:
Quote: | The script uses sed substitution to replace the dummy version in the template header, and since the substitution uses / as delimiter, it naturally breaks when the version string contains a /.
A quick fix is to use a different delimiter, like |. Of course, that will fail if some OS happens to have a | in the version string, but I don't think there's any safe character to use (is there a naming policy somewhere?). It would probably be better to do it similar to the update-version-h.sh script.
I'm attaching the quickfix mentioned above, and I also took the liberty of removing the useless use of cat.
|
|
|