Skip to content

Commit

Permalink
make package manager switch user package dir with -dir option #1070
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Dec 14, 2022
1 parent f26710c commit 206ad74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/beast/pkgmgmt/PackageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,7 @@ public static void main(String[] args) {
if (customDir != null) {
String path = PackageManager.getBeastPackagePathProperty();
System.setProperty("BEAST_PACKAGE_PATH", (path != null ? path + ":" : "") +customDir);
System.setProperty("beast.user.package.dir", (path != null ? path + ":" : "") +customDir);
}

List<URL> urlList = getRepositoryURLs();
Expand Down

0 comments on commit 206ad74

Please sign in to comment.