aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2017-10-22 14:48:08 +0200
committerEinhard Leichtfuß <alguien@respiranto.de>2017-10-22 14:48:08 +0200
commit28bb25ca68f929fa69a6bde00d865f7272a3f874 (patch)
tree272565be9666ec259157ffa86a12a905a8418286
parentd2e452f45faeaf8bab9e83d257052b10e16545a3 (diff)
Fix variable typo
-rwxr-xr-xauria.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/auria.sh b/auria.sh
index d51a2ec..8a42e9c 100755
--- a/auria.sh
+++ b/auria.sh
@@ -619,7 +619,7 @@ function rpc
fi
curl "${curl_args[@]}" --silent --get "${cargs[@]}" \
- "https://aur.archlinux.org/rpc/?v=5&type=${type}" \
+ "https://aur.archlinux.org/rpc/?v=5&type=${qtype}" \
-o "$file" \
|| { error "Failed to query AUR RPC interface."; return 2; }