From: Chris W. <la...@us...> - 2005-03-18 03:34:10
|
Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Setup In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8187/lib/OpenInteract2/Setup Modified Files: CreateTemporaryLibraryDirectory.pm Log Message: don't worry if the source file isn't there -- just means it was installed from CPAN (probably) Index: CreateTemporaryLibraryDirectory.pm =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Setup/CreateTemporaryLibraryDirectory.pm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CreateTemporaryLibraryDirectory.pm 24 Jan 2005 17:17:31 -0000 1.1 --- CreateTemporaryLibraryDirectory.pm 18 Mar 2005 03:33:50 -0000 1.2 *************** *** 112,115 **** --- 112,120 ---- my $source_file = catfile( $package_dir, @{ $module_file_spec } ); + + # if installed from CPAN dist, the source file won't be + # there... + next unless ( -f $source_file ); + my $dest_file = catfile( $temp_lib_dir, @{ $module_file_spec } ); |