Changeset 749 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Base.pm
- Timestamp:
- Mar 30, 2009, 2:31:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Base.pm
r681 r749 37 37 38 38 our @ISA = qw(Exporter); 39 our @EXPORT = qw(pb_mkdir_p pb_system pb_rm_rf pb_get_date pb_log pb_log_init pb_get_uri pb_get_content pb_set_content pb_display_file pb_syntax_init pb_syntax pb_temp_init $pbdebug $pbLOG $pbdisplaytype $pblocale);39 our @EXPORT = qw(pb_mkdir_p pb_system pb_rm_rf pb_get_date pb_log pb_log_init pb_get_uri pb_get_content pb_set_content pb_display_file pb_syntax_init pb_syntax pb_temp_init pb_get_arch $pbdebug $pbLOG $pbdisplaytype $pblocale); 40 40 41 41 =pod … … 371 371 } 372 372 373 =item B<pb_get_arch> 374 375 This function returns the architecture of our local environment and 376 standardize on i386 for those platforms. It also solves issues where a i386 VE on x86_64 returns x86_64 wrongly 377 378 =cut 379 380 sub pb_get_arch { 381 382 my $arch = `uname -m`; 383 chomp($arch); 384 $arch =~ s/i.86/i386/; 385 386 return($arch); 387 } 388 373 389 =back 374 390
Note:
See TracChangeset
for help on using the changeset viewer.