Package: transmission
Version: 1.73-5
Severity: normal

>From buildd log for i386[1] 

./updateminiupnpcstrings.sh ./miniupnpcstrings.h.in ./miniupnpcstrings.h
Detected OS [Debian] version [squeeze/sid]
sed: -e expression #1, char 9: unknown option to `s'
OS_VERSION=
setting OS_STRING macro value to Debian/ in ./miniupnpcstrings.h.

The correct expression seems to be 's#\/#\\\/#', as shown below:

#!/bin/sh
OS_VERSION="squeeze/sid"
echo ${OS_VERSION} | sed 's/\//\\\//'
OS_VERSION=`echo ${OS_VERSION} | sed 's#\/#\\\/#'`
echo OS_VERSION=$OS_VERSION
OS_VERSION=`echo ${OS_VERSION} | sed 's/\//\\\//'`
echo OS_VERSION=$OS_VERSION

But frankly I have no idea why.. Maybe backticks somehow mess with
escaping.

Also, would you consider to add lsb-release to Build-Depends? Miniupnp
would be able to distinguish Debian and Ubuntu.
I'm not sure for what is OS' version and name used though, I'll try to
get some feedback from Transmission's developer about that.

[1]:
https://buildd.debian.org/fetch.cgi?pkg=transmission;ver=1.73-5;arch=i386;stamp=1248558622




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to