OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 # | 4 # |
5 # This script should not be run directly but sourced by the other | 5 # This script should not be run directly but sourced by the other |
6 # scripts (e.g. sysroot-creator-trusty.sh). Its up to the parent scripts | 6 # scripts (e.g. sysroot-creator-trusty.sh). Its up to the parent scripts |
7 # to define certain environment variables: e.g. | 7 # to define certain environment variables: e.g. |
8 # DISTRO=ubuntu | 8 # DISTRO=ubuntu |
9 # DIST=trusty | 9 # DIST=trusty |
10 # APT_REPO=http://archive.ubuntu.com/ubuntu | 10 # APT_REPO=http://archive.ubuntu.com/ubuntu |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 echo " $0 help" | 691 echo " $0 help" |
692 exit 1 | 692 exit 1 |
693 else | 693 else |
694 ChangeDirectory | 694 ChangeDirectory |
695 if echo $1 | grep -qs "All$"; then | 695 if echo $1 | grep -qs "All$"; then |
696 "$@" | 696 "$@" |
697 else | 697 else |
698 RunCommand "$@" | 698 RunCommand "$@" |
699 fi | 699 fi |
700 fi | 700 fi |
OLD | NEW |