summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej enczykowski <maze@google.com>2019-03-24 18:27:13 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-24 18:27:13 -0700
commit2d0543ec56f15564b3af68390bca1e353451e997 (patch)
tree36794be535c0fec1bb19aab13a24c0952d156ee6
parent568a4d3e95e39bc92eecfb49c1181f7238223017 (diff)
parentb58db794d542730b295674ccb09a44fb6577f62a (diff)
downloadtests-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-xnet/test/build_rootfs.sh5
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