-
Notifications
You must be signed in to change notification settings - Fork 1.7k
$BIN/dart2js, $BIN/pub in SDK do not support symbolic link #3402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Set owner to @dgrove. |
Fixed in r13030. Added Fixed label. |
I don't believe we have fixed this problem yet. If you have a link from /a/b/c/d/e/f to /opt/dart-sdk/bin/dart2js, dirname of a/b/c/d/e/f will return /a/b/c/d/e. That's not where the Dart SDK is. I think this will work: PROG_NAME="${BASH_SOURCE[0]}" Set owner to @peter-ahe-google. |
Removed Priority-Medium label. |
Removed this from the M2 milestone. |
Added TriageForM5 label. |
Removed TriageForM5 label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
Peter - let me know if it is not the case, but I believe this was fixed in r30287 Added Fixed label. |
Changes: ``` > git log --format="%C(auto) %h %s" a949b32..6068f47 https://dart.googlesource.com/pub.git/+/6068f47c Fixing link example "User-Agent" (#3400) https://dart.googlesource.com/pub.git/+/cd0d6992 Make tests more agnostic to the test environment (#3402) https://dart.googlesource.com/pub.git/+/1f8db828 Fix retrieval of name in `pub global activate -sgit` (#3407) https://dart.googlesource.com/pub.git/+/ed63f212 Limit the number of concurrent precompilations (#3396) https://dart.googlesource.com/pub.git/+/d82f80a5 Fix crash when checking code with bad import (#3392) https://dart.googlesource.com/pub.git/+/b9ae624e Relative urls in lockfile for git urls (#3385) https://dart.googlesource.com/pub.git/+/62bb2440 Fix `dependency_services apply` for packages with relative imports (#3374) ``` Diff: https://dart.googlesource.com/pub.git/+/a949b329b1b51f5f3973a790e0a0a45897d837de~..6068f47c264ef790e16411b31b2c94ad6beb1ab6/ Change-Id: Ib18c2647e27a34d84005214b844351f314698611 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/243321 Commit-Queue: Sigurd Meldgaard <[email protected]> Reviewed-by: Sarah Zakarias <[email protected]>
This issue was originally filed by @jinmingjian
$BIN/dart2js, $BIN/pub in SDK are shell scripts in fact. But the
dirname $0
does not support symbolic link way.how about:
BIN_DIR=
dirname $0
->
BIN_DIR=
dirname $(readlink -f $0)
it works in my arch:)
The text was updated successfully, but these errors were encountered: