Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(722)

Unified Diff: utils/pub/sdk/pub

Issue 11871028: Clean up code that locates SDK and SDK version. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/pub/sdk.dart ('k') | utils/pub/sdk/pub.bat » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/sdk/pub
diff --git a/utils/pub/sdk/pub b/utils/pub/sdk/pub
index efd6861584f5637725697ac532e6ded6086f2ef7..b5a33c43639c1f1653058891499951e65c68de6d 100755
--- a/utils/pub/sdk/pub
+++ b/utils/pub/sdk/pub
@@ -6,6 +6,6 @@
# dart-sdk/bin has been symlinked to. On MacOS, readlink doesn't work
# with this case.
BIN_DIR="$(cd "${0%/*}" ; pwd -P)"
-export DART_SDK="$(cd "${BIN_DIR%/*}" ; pwd -P)"
+DART_SDK="$(cd "${BIN_DIR%/*}" ; pwd -P)"
exec "$BIN_DIR"/dart "$DART_SDK"/util/pub/pub.dart $@
« no previous file with comments | « utils/pub/sdk.dart ('k') | utils/pub/sdk/pub.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698