1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
5 # Goes through ACE/TAO and replaces
14 $args = $args . ' ' . shift @ARGV;
17 # wanted is only used for the File::Find
20 my $file = $File::Find
::name
;
22 $file =~ s/\.\//$root/;
24 if ($File::Find
::name
=~ /\_export\.h$/i) {
28 if (!open (FILE
, $file)) {
29 print STDERR
"Error: Could not open $file\n";
33 $flag = 1 if ((/generate_export/ || /GenExportH/) && $flag == 0);
34 $name = $1 if (/define (\w*)_Export/);
38 print "Regenerating: $file\n";
39 if ($OSNAME eq 'MSWIn32') {
42 system ("perl -S generate_export_file.pl $args $name > $file");
45 print "Skipping: $file\n";