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

Unified Diff: sdk/bin/dart

Issue 15949005: Make bin/pub script work when run from the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Run dart binary from built SDK. Created 7 years, 7 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 | « no previous file | sdk/bin/pub » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/dart
diff --git a/sdk/bin/dart b/sdk/bin/dart
index 22abed8b5e623c3425c39b9798a3754f58c309c8..43855cb0bfd07d6427515b3c3e8c256ac92d899b 100755
--- a/sdk/bin/dart
+++ b/sdk/bin/dart
@@ -12,11 +12,11 @@ then
DART_CONFIGURATION="ReleaseIA32"
fi
-if [[ `uname` == 'Darwin' ]];
+if [[ `uname` == 'Darwin' ]];
then
- BIN_DIR="$CUR_DIR"/../../xcodebuild/$DART_CONFIGURATION
+ BIN_DIR="$CUR_DIR"/../../xcodebuild/$DART_CONFIGURATION/dart-sdk/bin
else
- BIN_DIR="$CUR_DIR"/../../out/$DART_CONFIGURATION
-fi
+ BIN_DIR="$CUR_DIR"/../../out/$DART_CONFIGURATION/dart-sdk/bin
dgrove 2013/05/30 17:52:56 I think this will work. I talked with the VM team,
ahe 2013/06/03 07:50:10 This won't work. The original idea was as follows:
+fi
exec "$BIN_DIR"/dart "$@"
« no previous file with comments | « no previous file | sdk/bin/pub » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698