[WLANware] Fehler in gen-openwrt (freifunk-kit-1.5.x)

Lorenz Schori lorenz.schori at gmx.ch
Mon Sep 3 10:40:27 CEST 2007


> On 03.09.2007, at 10:11, mickey wrote:
>
>> Der Fehler ist in gen-openwrt Zeile 364:
>> eval echo -e "Package: ${package}\nStatus: install ok installed 
>> \nRoot:
>> /\nVersion: ${version}\n" >> $TMPDIR/openwrt-root.$$/usr/lib/ipkg/ 
>> status
>>
>> Das funktioniert so weder mit bash, ash oder ksh - zumindest unter  
>> Debian.
>>
>> Meine Lösung lautet:
>> eval echo -e "Package: ${package}\\\nStatus: install ok
>> installed\\\nRoot: /\\\nVersion: ${version}\\\n" >>
>> $TMPDIR/openwrt-root.$$/usr/lib/ipkg/status

Ich habs jetzt einfach ohne das überflüssige eval commited, also  
folgendermassen:

echo -e "Package: ${package}\nStatus: install ok installed\nRoot:
/\nVersion: ${version}\n" >> $TMPDIR/openwrt-root.$$/usr/lib/ipkg/status

Die evals müssen sowieso raus, das ist wohl die Holzhammermethode um  
stderr/stdout umzuleiten...

LG
Lorenz


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://mailman.freifunk.net/pipermail/wlanware-freifunk.net/attachments/20070903/01b3fbe9/attachment-0001.pgp>


More information about the WLANware mailing list