From 9d7028f98b7cfa57d8880169ca3ed4b72f372b5e Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Sun, 7 Apr 2019 13:14:27 +0200 Subject: [PATCH] .travis.yml: small improvements for PACKAGE_FILENAME. (#63) --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ea88b24..3be1713 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ env: - VERSION=3.1.0-3 - REPO=multiarch/qemu-user-static - PACKAGE_URI="https://kojipkgs.fedoraproject.org/packages/qemu/3.1.0/6.fc30/x86_64/qemu-user-static-3.1.0-6.fc30.x86_64.rpm" - - PACKAGE_FILENAME=qemu-user-static-3.1.0-6.fc30.x86_64.rpm + - PACKAGE_FILENAME=$(basename "$PACKAGE_URI") before_script: - sudo apt-get install jq rpm2cpio cpio - wget --content-disposition $PACKAGE_URI