Changeset 4788 for src/Pugs/Embed
- Timestamp:
- 06/18/05 12:58:05 (4 years ago)
- svk:copy_cache_prev:
- 6529
- Files:
-
- 1 modified
-
src/Pugs/Embed/Parrot.hsc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Embed/Parrot.hsc
r4782 r4788 13 13 import Data.Maybe 14 14 import Control.Monad 15 import Pugs.Compat (getEnv) 15 16 16 17 findExecutable' :: String -> IO (Maybe FilePath) … … 39 40 -- parrot -j is fatal on systems where jit is not supported, 40 41 -- so we use the next fastest CGP core. 41 rawSystem cmd ["-C", file] 42 args <- getEnv "PUGS_PARROT_OPTS" 43 let args' | isJust args = fromJust args 44 | otherwise = "-C" 45 rawSystem cmd [args', file] 42 46 return () 43 47
