Changeset 4902 for src/Pugs/Embed

Show
Ignore:
Timestamp:
06/21/05 14:30:14 (4 years ago)
Author:
iblech
svk:copy_cache_prev:
6641
Message:

* util/version_h.pl -- Silenced the "filehandle STDIN reopened..." warning.
* src/Pugs/Embed/Parrot.hsc -- Don't only check %*ENV<PUGS_PARROT_OPTS> for

definedness only, but check if it actually contains some chars (as system
"parrot", "", "..." won't work).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Embed/Parrot.hsc

    r4788 r4902  
    4141    -- so we use the next fastest CGP core. 
    4242    args <- getEnv "PUGS_PARROT_OPTS" 
    43     let args' | isJust args = fromJust args 
    44               | otherwise   = "-C" 
     43    let args' | isJust args && fromJust args /= "" = fromJust args 
     44              | otherwise                          = "-C" 
    4545    rawSystem cmd [args', file] 
    4646    return ()