From 76371f5ebdede94328bcfb897bdfc71ef47fa541 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Apr 2022 16:43:00 +0200 Subject: azure-cli: fix install.py --- azure-cli/.gitignore | 2 +- azure-cli/PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'azure-cli') diff --git a/azure-cli/.gitignore b/azure-cli/.gitignore index c28bed7bd..5da1f1db3 100644 --- a/azure-cli/.gitignore +++ b/azure-cli/.gitignore @@ -1 +1 @@ -install.py +install-*.py diff --git a/azure-cli/PKGBUILD b/azure-cli/PKGBUILD index 07d469b54..8abb19419 100644 --- a/azure-cli/PKGBUILD +++ b/azure-cli/PKGBUILD @@ -11,7 +11,7 @@ url="https://github.com/Azure/azure-cli" license=('MIT') depends=("python") conflicts=("python-azure-cli") -source=("install.py::https://azurecliprod.blob.core.windows.net/install.py" +source=("install-${pkgver}.py::https://azurecliprod.blob.core.windows.net/install.py" "install.response" "az") sha256sums=('7869d3c46992852525b8f9e4c63e34edd2d29cafed9e16fd94d5356665eefdfd' @@ -21,7 +21,7 @@ options=(!strip) prepare() { rm -rf "$srcdir/azure-cli" - grep -v -E '^===>|^$' install.response | python "$srcdir/install.py" + grep -v -E '^===>|^$' install.response | python "$srcdir/install-${pkgver}.py" find "$srcdir/azure-cli/bin" -type f -print0 | xargs -0 sed -i -e "s|$srcdir|/opt|g" } -- cgit v1.2.3-70-g09d2