Fix an incorrect constant usage in plantSymlinkForExternalRepo.
LabelConstants.EXTERNAL_PACKAGE_NAME is a conceptual path fragment to represent
the //external package and has nothing to do with the parent directories for
external repo symlinks in the execroot. The correct one is
LabelConstants.EXTERNAL_PATH_PREFIX.
@@ -139,7 +139,7 @@ public class SymlinkForest {
Path execrootLink = execroot.getRelative(repository.getExecPath(siblingRepositoryLayout));
if (!siblingRepositoryLayout && externalRepoLinks.isEmpty()) {
- execroot.getRelative(LabelConstants.EXTERNAL_PACKAGE_NAME).createDirectoryAndParents();
+ execroot.getRelative(LabelConstants.EXTERNAL_PATH_PREFIX).createDirectoryAndParents();
}
if (!externalRepoLinks.add(execrootLink)) {
return;
