diff --git a/shakers.cabal b/shakers.cabal
--- a/shakers.cabal
+++ b/shakers.cabal
@@ -1,6 +1,6 @@
 cabal-version: >=1.22
 name: shakers
-version: 0.0.47
+version: 0.0.48
 license: MIT
 license-file: LICENSE
 copyright: Copyright (C) 2016 Swift Navigation, Inc.
diff --git a/src/Development/Shakers.hs b/src/Development/Shakers.hs
--- a/src/Development/Shakers.hs
+++ b/src/Development/Shakers.hs
@@ -218,7 +218,7 @@
 -- | replace inline command.
 --
 replace :: FilePath -> FilePath -> String -> String -> Action ()
-replace d f a b = sed_ d [ "-i", ".bak", "s" </> a </> b </> "g", f ]
+replace d f a b = sed_ d [ "-i.bak", "s" </> a </> b </> "g", f ]
 
 -- | Git command in a directory.
 --
