Changeset 7325 for src/Main.hs

Show
Ignore:
Timestamp:
10/05/05 22:01:57 (3 years ago)
Author:
autrijus
Message:

* For perl5 helpers like -BPerl5 and -BJS, adjust the search path

for the "perl5" library in the order of:

'.', '../..', $installsitelib, $sourcedir


that is mainly to facilitate debugging during development.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Main.hs

    r7286 r7325  
    235235doExecuteHelper :: [FilePath] -> [String] -> IO () 
    236236doExecuteHelper helper args = do 
    237     let searchPaths = [["."], ["..", ".."], [getConfig "sourcedir"]] 
     237    let searchPaths = [["."], ["..", ".."], [getConfig "installsitelib"], [getConfig "sourcedir"]] 
    238238    mbin <- findHelper searchPaths 
    239239    case mbin of