Show
Ignore:
Timestamp:
10/17/06 08:26:01 (2 years ago)
Author:
audreyt
svk:copy_cache_prev:
21206
Message:

* Pugs.Embed.Perl5: Correctly find out the installed version

of Pugs::Compiler::Rules after a "make install".

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim/Match.hs

    r13903 r14351  
    3131doMatch :: String -> VRule -> Eval VMatch 
    3232doMatch cs rule@MkRulePGE{ rxRule = ruleStr } = do 
    33     let pwd1 = getConfig "installarchlib" ++ "/CORE/pugs" 
    34         pwd2 = getConfig "sourcedir" 
     33    let pwd1 = getConfig "installsitelib" ++ "/auto/pugs/perl5/lib" 
     34        pwd2 = getConfig "sourcedir" ++ "/perl5/Pugs-Compiler-Rule/lib" 
    3535    hasSrc <- liftIO $ doesDirectoryExist pwd2 
    3636    let pwd = if hasSrc then pwd2 else pwd1