summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej enczykowski <maze@google.com>2019-03-24 18:23:12 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-24 18:23:12 -0700
commitb58db794d542730b295674ccb09a44fb6577f62a (patch)
tree36794be535c0fec1bb19aab13a24c0952d156ee6
parentd4038d5017e3dc132f7be61b9034754d5851f74f (diff)
parentb5779ea931b322a5f2b92e4e15d92ce612492069 (diff)
downloadtests-b58db794d542730b295674ccb09a44fb6577f62a.tar.gz
net-test: build_rootfs.sh - fix post debian wheezy move to archive am: bc960f3d0f
am: b5779ea931 Change-Id: I2e81562befe707ddad1afc5f9477c9f2958eec61
-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