OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-tools Date: 20-Sep-2005 10:05:03 Branch: HEAD Handle: 2005092009050200 Modified files: openpkg-tools/cmd build.pl Log: the newline escape sequence was intended to be passed to RPM and not already expanded by Perl, althhough it worked as the shell's are smart enough and pass through newlines ;-) Summary: Revision Changes Path 1.14 +1 -1 openpkg-tools/cmd/build.pl ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-tools/cmd/build.pl ============================================================================ $ cvs diff -u -r1.13 -r1.14 build.pl --- openpkg-tools/cmd/build.pl 24 Mar 2005 11:21:11 -0000 1.13 +++ openpkg-tools/cmd/build.pl 20 Sep 2005 08:05:02 -0000 1.14 @@ -494,7 +494,7 @@ } } - @l = run("$RPM --qf '%{NAME} %{VERSION} %{RELEASE}[ .%{REQUIRENAME} .%{REQUIREFLAGS:depflags} .%{REQUIREVERSION}]\n' -qa"); + @l = run("$RPM --qf '%{NAME} %{VERSION} %{RELEASE}[ .%{REQUIRENAME} .%{REQUIREFLAGS:depflags} .%{REQUIREVERSION}]\\n' -qa"); @list = (); foreach (@l) { ($name,$version,$release,$req) = /^(\S+)\s+(\S+)\s+(\S+)\s*(.*?)\s*$/; @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org