Changeset 166 in ProjectBuilder for devel/pb/bin/pb


Ignore:
Timestamp:
Oct 1, 2007, 10:26:09 AM (14 years ago)
Author:
Bruno Cornec
Message:

Attempt ro remove a pb on recent bash version (maybe)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r165 r166  
    459459        if (($cmt eq "Sources") || ($cmt eq "VMs")) {
    460460            $src = "$src $ENV{'PBDESTDIR'}/$pbpkg-$pbver.tar.gz";
    461             $cmd = "$cmd ; ln -sf $pbpkg-$pbver.tar.gz $pbpkg-latest.tar.gz";
     461            if ($cmd eq "") {
     462                $cmd = "ln -sf $pbpkg-$pbver.tar.gz $pbpkg-latest.tar.gz";
     463            } else {
     464                $cmd = "$cmd ; ln -sf $pbpkg-$pbver.tar.gz $pbpkg-latest.tar.gz";
     465            }
    462466        }
    463467    }
     
    642646    $p = $ARGV[0] if (defined $ARGV[0]);
    643647    print SCRIPT "echo Building packages on VM...\n";
    644     print SCRIPT "pb build2pkg $p\n";
     648    print SCRIPT "pb -p $ENV{'PBPROJ'} build2pkg $p\n";
    645649    close(SCRIPT);
    646650    chmod 0755,"$ENV{'PBDESTDIR'}/pbscript";
Note: See TracChangeset for help on using the changeset viewer.