[project @ 2001-03-14 10:16:19 by rrt]
authorrrt <unknown>
Wed, 14 Mar 2001 10:16:19 +0000 (10:16 +0000)
committerrrt <unknown>
Wed, 14 Mar 2001 10:16:19 +0000 (10:16 +0000)
Get 'dis /tmp offa ma back, it stops me doin' Windows hack!

ghc/driver/split/ghc-split.lprl

index 6ed909a..3fe2b81 100644 (file)
@@ -45,7 +45,7 @@ sub split_asm_file {
 #      if $prologue_stuff eq $s_stuff;
 
     # lie about where this stuff came from
-    $prologue_stuff =~ s|"/tmp/ghc\d+\.c"|"$ifile_root\.hc"|g;
+    $prologue_stuff =~ s|"${Tmp_prefix}\.c"|"$ifile_root\.hc"|g;
 
     while ( $_ ne '' ) { # not EOF
        $octr++;