Changeset 7462 for src/Pugs.hs

Show
Ignore:
Timestamp:
10/09/05 13:39:11 (3 years ago)
Author:
autrijus
Message:

* adjust the helper launchers to find auto/pugs/ in either

privlib or sitelib, now pugslibdir is gone.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs.hs

    r7447 r7462  
    246246doExecuteHelper :: FilePath -> [String] -> IO () 
    247247doExecuteHelper helper args = do 
    248     let searchPaths = concatMap (\x -> map (x++) suffixes) [["."], ["..", ".."], [getConfig "sourcedir"], [getConfig "pugslibdir"]] 
     248    let searchPaths = concatMap (\x -> map (x++) suffixes) [["."], ["..", ".."], [getConfig "sourcedir"], [getConfig "perl5privlib", "auto", "pugs"], [getConfig "perl5sitelib", "auto", "pugs"]] 
    249249    mbin <- findHelper searchPaths 
    250250    case mbin of