diff options
author | Maciej enczykowski <maze@google.com> | 2019-03-21 23:00:44 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-03-21 23:00:44 -0700 |
commit | 1ffe120dd3ae65da9128406214b7ad3973dcf1c1 (patch) | |
tree | 031340d657dcda198cb2d2171add3a94ce85d5b9 | |
parent | b9921e93cf59215fd1baabb59354fd883ebddef4 (diff) | |
parent | 0ee596ee82d93606f6210a6d10ed79a0ba9c90fa (diff) | |
download | tests-1ffe120dd3ae65da9128406214b7ad3973dcf1c1.tar.gz |
net-test: build_rootfs - fix -n being ignored am: e9e18054c2
am: 0ee596ee82
Change-Id: Icb5057d700d795fd121dbd033be80fc32632b0ab
-rwxr-xr-x | net/test/build_rootfs.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/test/build_rootfs.sh b/net/test/build_rootfs.sh index ce09da1..07106cc 100755 --- a/net/test/build_rootfs.sh +++ b/net/test/build_rootfs.sh @@ -66,7 +66,9 @@ while getopts ":hs:a:m:n:" opt; do esac done -name=net_test.rootfs.$arch.`date +%Y%m%d` +if [[ -z "${name}" ]]; then + name=net_test.rootfs.$arch.`date +%Y%m%d` +fi # Switch to qemu-debootstrap for incompatible architectures if [ "$arch" = "arm64" ]; then |