Index: utils/pub/sdk_source.dart |
diff --git a/utils/pub/sdk_source.dart b/utils/pub/sdk_source.dart |
index 5984555fe3bb300bfcb0fd6d313597e4fc2f0218..3260e441a8c11cd03877d0b1f4445a7b97e9be15 100644 |
--- a/utils/pub/sdk_source.dart |
+++ b/utils/pub/sdk_source.dart |
@@ -58,10 +58,13 @@ class SdkSource extends Source { |
sourcePath = join(rootDir, "lib", id.description); |
return exists(sourcePath).chain((found) { |
if (!found) return new Future<bool>.immediate(false); |
- return createSymlink(sourcePath, destPath).transform((_) => true); |
+ return createPackageSymlink(id.name, sourcePath, destPath).transform( |
+ (_) => true); |
}); |
} |
- return createSymlink(sourcePath, destPath).transform((_) => true); |
+ |
+ return createPackageSymlink(id.name, sourcePath, destPath).transform( |
+ (_) => true); |
}); |
} |
} |