aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-06-12 03:49:42 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-06-12 03:49:42 +0300
commit4937ba2ecea2260527ec2bbfa12e743765a9888d (patch)
tree3578b13ff93697722b27336cd66e47863475cec3
parentaddpath: fix a sleep-deprived bug (diff)
downloadwindows-env-4937ba2ecea2260527ec2bbfa12e743765a9888d.tar.gz
windows-env-4937ba2ecea2260527ec2bbfa12e743765a9888d.zip
setenv: crap, another bug
I don't know what's happening. The latest string of commits is basically broken at every point. I'll tag as soon as I decide it's safe to use, which probably will become the default mode of development (instead of _every_ commit representing a working version).
Diffstat (limited to '')
-rw-r--r--app/SetEnv.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/SetEnv.hs b/app/SetEnv.hs
index 258bc2e..e77b05a 100644
--- a/app/SetEnv.hs
+++ b/app/SetEnv.hs
@@ -66,7 +66,7 @@ setEnv options = runExceptT doSetEnv >>= either ioError return
doSetEnv = do
expanded <- WindowsEnv.expand varValue
- let expandable = expanded == varValue
+ let expandable = expanded /= varValue
let newValue = WindowsEnv.Value expandable varValue
promptAndEngrave newValue