Changeset 1548 in ProjectBuilder


Ignore:
Timestamp:
May 21, 2012, 1:44:09 AM (12 years ago)
Author:
Bruno Cornec
Message:
  • pb: Improve error message when building but config isn't present. Pass through pb_stop_on_error when setting up a virtual environment. (Eric Andersson)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1546 r1548  
    14431443            pb_rm_rf("debian");
    14441444            my $confdir = "pbconf/$pbos->{'name'}-$pbos->{'version'}-$pbos->{'arch'}";
    1445             die "Configuration directory $confdir is not a directory" if (not -d $confdir);
     1445            die "Configuration directory $confdir is not a directory\nIs os description listed in your {ve,vm,rm}list values?" if (not -d $confdir);
    14461446            symlink "$confdir","debian" || die "Unable to symlink 'debian' to $confdir";
    14471447            chmod 0755,"debian/rules";
     
    29552955EOF
    29562956    print SCRIPT << "EOF";
     2957\$Global::pb_stop_on_error = $Global::pb_stop_on_error;
    29572958pb_temp_init($pbkeep);
    29582959pb_conf_init("$ENV{'PBPROJ'}");
Note: See TracChangeset for help on using the changeset viewer.