summaryrefslogtreecommitdiff
path: root/azure-cli
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-09-19 20:28:36 +0200
committerErich Eckner <git@eckner.net>2021-09-19 20:28:36 +0200
commit435b6eb3607c4f7070b4f7fb6a880226c7d4a902 (patch)
treee20d6486334d82ed54aed1afe28f736d2fee73b9 /azure-cli
parent0fe19c814fd3afde854bb1244cc1f03eae9afdba (diff)
downloadarchlinuxewe-435b6eb3607c4f7070b4f7fb6a880226c7d4a902.tar.xz
azure-cli: fix source url of magic script
Diffstat (limited to 'azure-cli')
-rw-r--r--azure-cli/.gitignore2
-rw-r--r--azure-cli/PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/azure-cli/.gitignore b/azure-cli/.gitignore
index 5da1f1db3..c28bed7bd 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 5a8b07f9f..9e125b51e 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-$pkgver.py::https://raw.githubusercontent.com/Azure/azure-cli/azure-cli-$pkgver/scripts/curl_install_pypi/install.py"
+source=("install.py::https://raw.githubusercontent.com/Azure/azure-cli/azure-cli-2.27.2/scripts/curl_install_pypi/install.py"
"install.response"
"az")
sha256sums=('c5107b96cfe881c46c8d8d9f401fcf931aab2b769a20fda58626b6e6e907219b'
@@ -21,7 +21,7 @@ options=(!strip)
prepare() {
rm -rf "$srcdir/azure-cli"
- grep -v -E '^===>|^$' install.response | python "$srcdir/install-$pkgver.py"
+ grep -v -E '^===>|^$' install.response | python "$srcdir/install.py"
find "$srcdir/azure-cli/bin" -type f -print0 | xargs -0 sed -i -e "s|$srcdir|/opt|g"
}