branch | fix |
changeset 557 | be0305eb3dc3 |
parent 315 | 6325833fc679 |
child 598 | 0a541d1f13c3 |
--- a/imgtools/imaker/src/imaker.pm Tue May 11 21:10:52 2010 +0100 +++ b/imgtools/imaker/src/imaker.pm Mon May 17 11:37:12 2010 +0100 @@ -351,7 +351,7 @@ { (my $dir = shift()) =~ s/^>>?(?!>)//; my $absdir = ""; - eval { local $SIG{__DIE__}; $absdir = Cwd::abs_path($dir) }; + if (-e $dir) {$absdir = Cwd::abs_path($dir) }; return(PathConv($absdir || File::Spec->rel2abs($dir, $dir !~ /^$gWorkdrive/i && $dir =~ /^([a-z]:)/i ? "$1/" : ""), shift(), shift())); }