Skip to content

Commit 2f7994e

Browse files
committed
Remove bad check
1 parent b6c0490 commit 2f7994e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

generate-programs-index.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,6 @@ void mainWrapped(int argc, char * * argv)
173173
break;
174174
}
175175

176-
if (file2->second.type != FSAccessor::Type::tRegular
177-
|| !file2->second.isExecutable)
178-
{
179-
printError("symlink ‘%s’ points to non-executable ‘%s’",
180-
storePath + "/" + file.first, stat.target);
181-
break;
182-
}
183-
184176
curPath = sub;
185177
stat = file2->second;
186178
}

0 commit comments

Comments
 (0)