Changeset 150 in ProjectBuilder


Ignore:
Timestamp:
Sep 26, 2007, 6:22:16 PM (17 years ago)
Author:
Bruno Cornec
Message:

Fixes 2 syntax issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r149 r150  
    344344            if (-f "/usr/bin/rpmlint") {
    345345                pb_system("rpmlint $made","Checking validity of rpms with rpmlint");
     346            }
    346347        } elsif ($dtype eq "deb") {
    347348            chdir "$ENV{'PBBUILDDIR'}" || die "Unable to chdir to $ENV{'PBBUILDDIR'}";
     
    363364            my $found = 0;
    364365            my $pbbd = $ENV{'PBBUILDDIR'};
    365             $pbbd =~ /|/|\\/|g;
     366            $pbbd =~ s|/|\\/|g;
    366367            open(MAKE,"/etc/make.conf") || die "Unable to open /etc/make.conf";
    367368            while (<MAKE>) {
Note: See TracChangeset for help on using the changeset viewer.