diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T20·09-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T20·09-0400 |
commit | 234ce610e0671410cb8a9ce4d8725e55472e8d47 (patch) | |
tree | d12ccf248cdeb0becdb6b7d8ac9c9cd442a7c59a | |
parent | 7b10562370919947c9df748a165587ec5fc6c2ea (diff) |
Doh
-rw-r--r-- | src/libstore/optimise-store.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/optimise-store.cc b/src/libstore/optimise-store.cc index 2c3f59a72428..c05447f4a27f 100644 --- a/src/libstore/optimise-store.cc +++ b/src/libstore/optimise-store.cc @@ -1,3 +1,5 @@ +#include "config.h" + #include "util.hh" #include "local-store.hh" #include "immutable.hh" @@ -67,7 +69,6 @@ void LocalStore::optimisePath_(OptimiseStats & stats, const Path & path) /* We can hard link regular files and maybe symlinks. */ if (!S_ISREG(st.st_mode) #if CAN_LINK_SYMLINK - x && !S_ISLNK(st.st_mode) #endif ) return; |