Index: third_party/pkg/di/scripts/env.sh |
diff --git a/third_party/pkg/di/scripts/env.sh b/third_party/pkg/di/scripts/env.sh |
deleted file mode 100644 |
index c7473463493d204c05bb93703d8ab64426b62035..0000000000000000000000000000000000000000 |
--- a/third_party/pkg/di/scripts/env.sh |
+++ /dev/null |
@@ -1,23 +0,0 @@ |
-#!/bin/sh |
-set -e |
- |
-if [ -n "$DART_SDK" ]; then |
- DARTSDK=$DART_SDK |
-else |
- echo "sdk=== $DARTSDK" |
- DART=`which dart|cat` # pipe to cat to ignore the exit code |
- DARTSDK=`which dart | sed -e 's/\/bin\/dart$/\//'` |
- if [ -z "$DARTSDK" ]; then |
- DARTSDK="`pwd`/dart-sdk" |
- fi |
-fi |
- |
-export DART_SDK="$DARTSDK" |
-export DART=${DART:-"$DARTSDK/bin/dart"} |
-export PUB=${PUB:-"$DARTSDK/bin/pub"} |
-export DARTANALYZER=${DARTANALYZER:-"$DARTSDK/bin/dartanalyzer"} |
-export DARTDOC=${DARTDOC:-"$DARTSDK/bin/dartdoc"} |
- |
- |
-export DART_FLAGS='--enable_type_checks --enable_asserts' |
-export PATH=$PATH:$DARTSDK/bin |