| Index: dart/tools/dartium/download_shellscript_template.sh
|
| diff --git a/dart/tools/dartium/download_shellscript_template.sh b/dart/tools/dartium/download_shellscript_template.sh
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f7d55b5eb9fe50f73eb239bdf618ec60b6cf1d74
|
| --- /dev/null
|
| +++ b/dart/tools/dartium/download_shellscript_template.sh
|
| @@ -0,0 +1,12 @@
|
| +#!/bin/bash
|
| +
|
| +# This script will download VAR_DOWNLOAD_URL to VAR_DESTINATION in the current
|
| +# working directory.
|
| +
|
| +CHROMIUM_DIR="$(dirname $BASH_SOURCE)"
|
| +SDK_BIN="$CHROMIUM_DIR/../dart-sdk/bin"
|
| +
|
| +DART="$SDK_BIN/dart"
|
| +DOWNLOAD_SCRIPT="$CHROMIUM_DIR/download_file.dart"
|
| +
|
| +"$DART" "$DOWNLOAD_SCRIPT" "VAR_DOWNLOAD_URL" "VAR_DESTINATION"
|
|
|