diff options
author | sb <sb@openoffice.org> | 2010-01-12 18:49:59 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-01-12 18:49:59 +0100 |
commit | 55ec111502477e7527498888e795dfdf006c5eb5 (patch) | |
tree | 1c3cd9e0e4f7ad93bd741c5d39b492aabe39f7d7 /automation | |
parent | 180c780b16b164c23afe2ae8f0e03f89bc4f9a3a (diff) |
sb118: #i108269# first step of removing tcsh support
Diffstat (limited to 'automation')
-rw-r--r-- | automation/source/testtool/filter.pl | 20 | ||||
-rw-r--r-- | automation/source/testtool/makefile.mk | 5 |
2 files changed, 1 insertions, 24 deletions
diff --git a/automation/source/testtool/filter.pl b/automation/source/testtool/filter.pl index e23d3a0f44e1..73abda2053ee 100644 --- a/automation/source/testtool/filter.pl +++ b/automation/source/testtool/filter.pl @@ -75,28 +75,13 @@ sub read_block { print "Leaving read_block at the end\n" if $debug; } -sub convert_path { - - $_ = $_[0]; - $GUI = $ENV {"GUI"}; - $use_shell = $ENV {"USE_SHELL"}; - if ( $GUI eq "WNT" ) - { - if ( defined( $use_shell ) && "$use_shell" eq "4nt" ) - { - s/\//\\/g; - } - } - $_; -} - # Read a file. # first parameter ist the filename sub read_file { local ($filename,$file) = @_; $file++; # String increment - local $TempFileName = &convert_path( $basename."/".$filename ); + local $TempFileName = $basename."/".$filename; print "reading file $TempFileName as $file\n" if $debug; open($file, $TempFileName) || die "error: Could not open file $TempFileName. "; @@ -107,9 +92,6 @@ sub read_file { # main starts here -print &convert_path ("/\n\n\n") if ( $debug ); - - $basename = "."; $basename = $ARGV[0] if defined($ARGV[0]); diff --git a/automation/source/testtool/makefile.mk b/automation/source/testtool/makefile.mk index e72c92c3b8e1..faf78b76cd40 100644 --- a/automation/source/testtool/makefile.mk +++ b/automation/source/testtool/makefile.mk @@ -91,13 +91,8 @@ $(INCCOM)$/res_type.hxx : $(SOLARVERSION)$/$(INPATH)$/inc$(UPDMINOREXT)$/tools$/ $(MISC)$/xfilter.pl : filter.pl -.IF "$(GUI)" == "UNX" || "$(USE_SHELL)"!="4nt" tr -d "\015" < filter.pl > $(MISC)$/xfilter.pl chmod 664 $(MISC)$/xfilter.pl -.ELSE - $(COPY) filter.pl $(MISC)$/xfilter.pl - attrib -r $(MISC)$/xfilter.pl -.ENDIF |