From a013949534a7e56215a5ec5d5c514ba92829cd33 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Mon, 25 Nov 2019 22:47:26 -0800 Subject: [PATCH] Use bash for aur helper --- bin/aur | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bin/aur b/bin/aur index cf94e16..dcc6fc8 100755 --- a/bin/aur +++ b/bin/aur @@ -1,8 +1,5 @@ -#!/usr/bin/env tako +#!/usr/bin/env bash -import sys +set -exuo pipefail -assert len(sys.argv) >= 2 - -fmt = 'https://aur.archlinux.org/cgit/aur.git/snapshot/{}.tar.gz' -wget @(fmt.format(sys.argv[1])) +wget "https://aur.archlinux.org/cgit/aur.git/snapshot/$1.tar.gz"