From 7475510ba9c0e196f69fea751f6dca76557c2950 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 25 Jan 2021 19:14:07 -0800 Subject: [PATCH] Remove unused deploy_gallery.sh (#74675) --- dev/bots/deploy_gallery.sh | 79 -------------------------------------- 1 file changed, 79 deletions(-) delete mode 100755 dev/bots/deploy_gallery.sh diff --git a/dev/bots/deploy_gallery.sh b/dev/bots/deploy_gallery.sh deleted file mode 100755 index 69be7f29e0..0000000000 --- a/dev/bots/deploy_gallery.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/env bash -# Copyright 2014 The Flutter Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -set -e - -function script_location() { - local script_location="${BASH_SOURCE[0]}" - # Resolve symlinks - while [[ -h "$script_location" ]]; do - DIR="$(cd -P "$(dirname "$script_location")" >/dev/null && pwd)" - script_location="$(readlink "$script_location")" - [[ "$script_location" != /* ]] && script_location="$DIR/$script_location" - done - echo "$(cd -P "$(dirname "$script_location")" >/dev/null && pwd)" -} - -# So that users can run this script locally from any directory and it will work as -# expected. -SCRIPT_LOCATION="$(script_location)" -FLUTTER_ROOT="$(dirname "$(dirname "$SCRIPT_LOCATION")")" -export PATH="$FLUTTER_ROOT/bin:$FLUTTER_ROOT/bin/cache/dart-sdk/bin:$PATH" - -set -x - -cd "$FLUTTER_ROOT" - -version="$(