diff options
author | Erich Eckner <git@eckner.net> | 2022-04-11 16:43:00 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-04-17 01:57:24 +0200 |
commit | 76371f5ebdede94328bcfb897bdfc71ef47fa541 (patch) | |
tree | b07ce41cd3ee88bc41e23dcbcc6e7e4c3c9842c9 /azure-cli | |
parent | ed7b0d59b587f62330f7a22d3f9693b6222c3749 (diff) | |
download | archlinuxewe-76371f5ebdede94328bcfb897bdfc71ef47fa541.tar.xz |
azure-cli: fix install.py
Diffstat (limited to 'azure-cli')
-rw-r--r-- | azure-cli/.gitignore | 2 | ||||
-rw-r--r-- | azure-cli/PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
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" } |