From 4bb4d5479a8a2c2ed04bd65312ce1bfb6d2c0b13 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 3 Dec 2012 18:19:49 +0100 Subject: Whitespace --- src/nix-env/profiles.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/nix-env/profiles.cc') diff --git a/src/nix-env/profiles.cc b/src/nix-env/profiles.cc index 5cc0d9a1cd42..c327993594e8 100644 --- a/src/nix-env/profiles.cc +++ b/src/nix-env/profiles.cc @@ -41,7 +41,7 @@ Generations findGenerations(Path profile, int & curGen) Path profileDir = dirOf(profile); string profileName = baseNameOf(profile); - + Strings names = readDirectory(profileDir); for (Strings::iterator i = names.begin(); i != names.end(); ++i) { int n; @@ -116,7 +116,7 @@ void switchLink(Path link, Path target) { /* Hacky. */ if (dirOf(target) == dirOf(link)) target = baseNameOf(target); - + Path tmp = canonPath(dirOf(link) + "/.new_" + baseNameOf(link)); if (symlink(target.c_str(), tmp.c_str()) != 0) throw SysError(format("creating symlink `%1%'") % tmp); @@ -146,4 +146,3 @@ string optimisticLockProfile(const Path & profile) } - -- cgit 1.4.1