diff options
author | Maciej enczykowski <maze@google.com> | 2019-03-24 18:27:13 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-24 18:27:13 -0700 |
commit | 2d0543ec56f15564b3af68390bca1e353451e997 (patch) | |
tree | 36794be535c0fec1bb19aab13a24c0952d156ee6 | |
parent | 568a4d3e95e39bc92eecfb49c1181f7238223017 (diff) | |
parent | b58db794d542730b295674ccb09a44fb6577f62a (diff) | |
download | tests-2d0543ec56f15564b3af68390bca1e353451e997.tar.gz |
net-test: build_rootfs.sh - fix post debian wheezy move to archive am: bc960f3d0f am: b5779ea931
am: b58db794d5
Change-Id: I7b25303d4b50163d827c828ea6965d7279bb3d4f
-rwxr-xr-x | net/test/build_rootfs.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/test/build_rootfs.sh b/net/test/build_rootfs.sh index 11fe841..887e746 100755 --- a/net/test/build_rootfs.sh +++ b/net/test/build_rootfs.sh @@ -40,7 +40,10 @@ while getopts ":hs:a:m:n:" opt; do echo "Invalid suite: $OPTARG" >&2 usage fi - suite=$OPTARG + suite="${OPTARG}" + if [[ "${suite}" == wheezy ]]; then + mirror=http://archive.debian.org/debian + fi ;; a) if [ "$OPTARG" != "amd64" -a "$OPTARG" != "arm64" ]; then |