Fix typo
authorIan Lynagh <igloo@earth.li>
Wed, 16 Jan 2008 01:19:53 +0000 (01:19 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 16 Jan 2008 01:19:53 +0000 (01:19 +0000)
compiler/main/DynFlags.hs

index 22b85b9..a556471 100644 (file)
@@ -1595,7 +1595,7 @@ setTmpDir dir dflags = dflags{ tmpDir = canonicalise dir }
      -- strip the trailing backslash (awful, but we only do this once).
      removeTrailingSlash path
       | isPathSeparator (last path) = init path
-      | othwerwise                  = path
+      | otherwise                   = path
 #endif
 
 -----------------------------------------------------------------------------