Ticket #64: project-builder-0.9.10-arg-fix.patch

File project-builder-0.9.10-arg-fix.patch, 745 bytes (added by Nikita Krupen'ko, 14 years ago)

Pacth to fix the problem with quotes

  • bin/pb

    diff -ur project-builder-0.9.10/bin/pb project-builder-arg-fix/bin/pb
    old new  
    938938            foreach my $f (@specfile) {
    939939                if ($f =~ /\.spec$/) {
    940940                    pb_distro_installdeps($f,$dtype,$pbupd);
    941                     pb_system("rpmbuild $specialdef --define \'packager $ENV{'PBPACKAGER'}\' --define \"_topdir $ENV{'PBBUILDDIR'}\" -ba $f","Building package with $f under $ENV{'PBBUILDDIR'}","verbose");
     941                    pb_system("rpmbuild $specialdef --define \"packager $ENV{'PBPACKAGER'}\" --define \"_topdir $ENV{'PBBUILDDIR'}\" -ba $f","Building package with $f under $ENV{'PBBUILDDIR'}","verbose");
    942942                    last;
    943943                }
    944944            }