[project @ 2000-04-25 10:09:11 by simonmar]
authorsimonmar <unknown>
Tue, 25 Apr 2000 10:09:11 +0000 (10:09 +0000)
committersimonmar <unknown>
Tue, 25 Apr 2000 10:09:11 +0000 (10:09 +0000)
fix bug in new -ofile stuff: we were missing a '.' between the tmp
file root and the suffix.

ghc/driver/ghc.lprl

index 299798d..5d42b0c 100644 (file)
@@ -1413,7 +1413,7 @@ Again, we'll do the post-recompilation-checker parts of this later.
                             ( $HscLang eq 'java' ) ? "java" : 
                                "" ;
     
-    local($hsc_out)       = $Tmp_prefix.$hsc_out_suffix ;
+    local($hsc_out)       = "$Tmp_prefix.$hsc_out_suffix" ;
     local($hsc_out_c_stub) = ( $HscLang eq 'C' ) ? "${Tmp_prefix}_stb.c" : "";
     local($hsc_out_h_stub) = ( $HscLang eq 'C' ) ? "${Tmp_prefix}_stb.h" : "";