From 412af76ac0b6dc21dab7e626fec6094967376a11 Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Fri, 22 Feb 2019 09:45:52 +0200 Subject: [PATCH] Fix a bug where `fnm env --multi` didn't used the default alias (#61) The default link on `fnm env --multi` was to `aliases/default/installation`, but `/installation` isn't needed --- executable/Env.re | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/executable/Env.re b/executable/Env.re index 70fd354..fb7d75c 100644 --- a/executable/Env.re +++ b/executable/Env.re @@ -20,11 +20,7 @@ let rec makeTemporarySymlink = () => { let%lwt suggestedName = makeTemporarySymlink(); Lwt.return(suggestedName); } else { - let%lwt _ = - Lwt_unix.symlink( - Filename.concat(Directories.defaultVersion, "installation"), - suggestedName, - ); + let%lwt _ = Lwt_unix.symlink(Directories.defaultVersion, suggestedName); Lwt.return(suggestedName); }; };