Changeset 7405 for src/Pugs.hs

Show
Ignore:
Timestamp:
10/07/05 20:20:12 (3 years ago)
Author:
iblech
Message:

* src/Pugs.hs: Pass --pugs=$*EXECUTABLE_NAME to jspugs.pl.
* PIL2JS: jspugs.pl: Ignore -BJS (needed to silence the warning the change to

Pugs.hs causes).

* This means pugs -BJS works now even if pugs had been installed and

$sourcedir/perl5 has been rm-rfed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs.hs

    r7355 r7405  
    232232    case map toLower backend of 
    233233        "js"    -> if (args' == []) 
    234                    then (doExecuteHelper [ "perl5", "PIL2JS",  "jspugs.pl"  ] []) 
     234                   then (doExecuteHelper [ "perl5", "PIL2JS",  "jspugs.pl"  ] args) 
    235235                   else (doExecuteHelper [ "perl5", "PIL2JS",  "runjs.pl"   ] args) 
    236236        "perl5" ->       doExecuteHelper [ "perl5", "PIL-Run", "pugs-p5.pl" ] args