- Timestamp:
- Feb 26, 2011, 7:01:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb/bin/pb
r1221 r1225 892 892 my $ptr = pb_get_filters($pbpkg); 893 893 894 # TODO: Make it CMS aware895 # Execute the pbinit script if any896 if (-x "$ENV{'PBROOTDIR'}/$pbpkg/pbinit") {897 pb_filter_file("$ENV{'PBROOTDIR'}/$pbpkg/pbinit",$ptr,"$ENV{'PBTMP'}/pbinit",$pb);898 chmod 0755,"$ENV{'PBTMP'}/pbinit";899 pb_system("cd $dest ; $ENV{'PBTMP'}/pbinit","Executing init script from $ENV{'PBROOTDIR'}/$pbpkg/pbinit","verbose");900 }901 902 894 # Do not do that for website 903 895 if (not defined $web) { … … 1085 1077 pb_log(2,"Files ".$liste."have been filtered\n"); 1086 1078 1079 # TODO: Make it CMS aware 1080 # Execute the pbinit script if any 1081 if (-x "$ENV{'PBROOTDIR'}/$pbpkg/pbinit") { 1082 pb_filter_file("$ENV{'PBROOTDIR'}/$pbpkg/pbinit",$ptr,"$ENV{'PBTMP'}/pbinit",$pb); 1083 chmod 0755,"$ENV{'PBTMP'}/pbinit"; 1084 pb_system("cd $dest ; $ENV{'PBTMP'}/pbinit","Executing init script from $ENV{'PBROOTDIR'}/$pbpkg/pbinit under $dest","verbose"); 1085 } 1086 1087 1087 # Do we have additional script to run to prepare the environement for the project ? 1088 1088 # Then include it in the pbconf delivery
Note:
See TracChangeset
for help on using the changeset viewer.