parameter.pm (9780544f) parameter.pm (dfa12748)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 205 unchanged lines hidden (view full) ---

214 if ( $installer::globals::isunix )
215 {
216 if (!($$pathref =~ /^\s*\//)) # this is a relative unix path
217 {
218 $$pathref = cwd() . $installer::globals::separator . $$pathref;
219 }
220 }
221
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 205 unchanged lines hidden (view full) ---

214 if ( $installer::globals::isunix )
215 {
216 if (!($$pathref =~ /^\s*\//)) # this is a relative unix path
217 {
218 $$pathref = cwd() . $installer::globals::separator . $$pathref;
219 }
220 }
221
222 if ( $installer::globals::iswin )
222 if ( $installer::globals::iswin || $installer::globals::isos2 )
223 {
224 if ( $^O =~ /cygwin/i )
225 {
226 if ( $$pathref !~ /^\s*\// && $$pathref !~ /^\s*\w\:/ ) # not an absolute POSIX or DOS path
227 {
228 $$pathref = cwd() . $installer::globals::separator . $$pathref;
229 }
230 my $p = $$pathref;

--- 417 unchanged lines hidden ---
223 {
224 if ( $^O =~ /cygwin/i )
225 {
226 if ( $$pathref !~ /^\s*\// && $$pathref !~ /^\s*\w\:/ ) # not an absolute POSIX or DOS path
227 {
228 $$pathref = cwd() . $installer::globals::separator . $$pathref;
229 }
230 my $p = $$pathref;

--- 417 unchanged lines hidden ---