- Timestamp:
- Apr 25, 2012, 1:47:22 AM (13 years ago)
- Location:
- devel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.conf
r1460 r1486 375 375 # pbos->{'arch'} == i586 for i386 repo 376 376 rbsmirrorsrv mandriva = http://mirrors.kernel.org/mandriva/Mandrakelinux/official/$pbos->{'version'}/$pbos->{'arch'}/media/main/release/ 377 rbsmirrorsrv mageia = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/ cauldron/$pbos->{'arch'}/media/core/release/377 rbsmirrorsrv mageia = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/$pbos->{'version'}/$pbos->{'arch'}/media/core/release/ 378 378 #rbsmirrorsrv debian = http://ftp.us.debian.org/debian/ 379 379 #rbsmirrorsrv ubuntu = http://us.releases.ubuntu.com/releases/ -
devel/pb-modules/lib/ProjectBuilder/Base.pm
r1433 r1486 108 108 my @dir = @_; 109 109 my $ret = mkpath(@dir, 0, 0755); 110 return( 0);110 return($ret); 111 111 } 112 112 … … 127 127 =item B<pb_system> 128 128 129 Encapsulate the "system" call for better output and return value test 130 Needs a $ENV{'PBTMP'} variable which is created by calling the pb_mktemp_init function 131 Needs pb_log support, so pb_log_init should have be nn called before.132 133 The first parameter is the shell command to call. this commend should NOT use redirections.129 Encapsulate the "system" call for better output and return value test. 130 Needs a $ENV{'PBTMP'} variable which is created by calling the pb_mktemp_init function. 131 Needs pb_log support, so pb_log_init should have been called before. 132 133 The first parameter is the shell command to call. This command should NOT use redirections. 134 134 The second parameter is the message to print on screen. If none is given, then the command is printed. 135 The third parameter print the result of the command after correct execution if value is verbose. If value is noredir, it avoids redirecting outputs (e.g. for vi). 136 This function returns theresult the return value of the system command.135 The third parameter print the result of the command after correct execution if value is verbose. If value is noredir, it avoids redirecting outputs (e.g. for vi). If value is quiet, doesn't print anything at all. 136 This function returns as a result the return value of the system command. 137 137 138 138 If no error reported, it prints OK on the screen, just after the message. Else it prints the errors generated. -
devel/pb/bin/pb
r1484 r1486 3784 3784 # If not mandatory return now 3785 3785 return() if (($res != 0) and (($mandatory eq "patch") || ($mandatory eq "src"))); 3786 opendir(DIR,"$dir") || die "Unable to open directory $dir ";3786 opendir(DIR,"$dir") || die "Unable to open directory $dir: $!"; 3787 3787 foreach my $f (readdir(DIR)) { 3788 3788 next if ($f =~ /^\./);
Note:
See TracChangeset
for help on using the changeset viewer.