Index: sdk/bin/pub |
diff --git a/sdk/bin/pub b/sdk/bin/pub |
index 95fb3b813198bf61dd4d4b508ee67b9655d658c7..efce9b3e870cecdcc501c141916d99bfdd705954 100755 |
--- a/sdk/bin/pub |
+++ b/sdk/bin/pub |
@@ -6,7 +6,7 @@ |
# 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 --package-root="$DART_SDK"/packages/ \ |
"$DART_SDK"/lib/_internal/pub/bin/pub.dart $@ |