mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
resolve paths in $PACKAGE_DIRS
This commit is contained in:
@@ -603,11 +603,14 @@ Fiber(function () {
|
||||
if (appDir)
|
||||
localPackageDirs.push(path.join(appDir, 'packages'));
|
||||
|
||||
if (process.env.PACKAGE_DIRS)
|
||||
if (process.env.PACKAGE_DIRS) {
|
||||
// User can provide additional package directories to search in
|
||||
// PACKAGE_DIRS (colon-separated).
|
||||
localPackageDirs = localPackageDirs.concat(
|
||||
process.env.PACKAGE_DIRS.split(':'));
|
||||
_.map(process.env.PACKAGE_DIRS.split(':'), function (p) {
|
||||
return path.resolve(p);
|
||||
}));
|
||||
}
|
||||
|
||||
if (!files.usesWarehouse()) {
|
||||
// Running from a checkout, so use the Meteor core packages from
|
||||
|
||||
Reference in New Issue
Block a user