Peter S. Mazinger wrote:

Run -bi (instead of -bb) (original rpm uses rpm[buld] -bi <specfile>, I can't tell how openpkg does this though), see if the ant-file has "r" in the temporary install directory Or do it step-by-step
-bp (unpackage)
-bc (compile) --short-circuit
-bi (install) --short-circuit

now i have the corrupted ant-file in $pre/RPM/TPM/ant-1.6.2-root/opt/opkg/bin/


to me, it seems the bug is following shtool-call

+ /opt/opkg/lib/openpkg/shtool install -c -m 755 -e 's;/etc/ant.conf;/opt/opkg/etc/ant/ant.conf;' -e 's;^\(ANT_LIB="\)[^"]*\("\);\1/opt/opkg/libexec/ant\2;' -e 's;\r$;;' bin/ant /opt/opkg/RPM/TMP/ant-1.6.2-root/opt/opkg/bin/

i think, shtools's regex handles "\r" not as "RETURN" but just as "r". so -e 's;\r$;;' will delete every "r" at the end of a line -- making my .jar a .ja

most of these invalid changes are in comments, a second critcal one seems to be in line 212:
for i in "${OSXHACK}"/*.ja


andi

--

______________________________________________________________

Team-Konzept
Andreas Schmidt
Gneisenaustra�e 44/45
10961 Berlin, Germany
T: +49 30 69 04 71-23
F: +49 30 69 04 71-99
[EMAIL PROTECTED]
PGP Key: http://www.team-konzept.de/pgp/andreas_schmidt.asc
http://www.team-konzept.de

Team-Konzept Informationstechnologien GmbH & Co. KG
Amtsgericht Berlin Charlottenburg HRA 27562
Gesch�ftsf�hrende Komplement�rin:
Team-Konzept Informationstechnologien Beteiligungs-GmbH
Amtsgericht Berlin Charlottenburg HRB 59609
Gesch�ftsf�hrer: Udo Blenk, Andreas Schmidt
______________________________________________________________
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to