We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d48df4d commit 1f3e925Copy full SHA for 1f3e925
1 file changed
system/aur.sh
@@ -6,6 +6,8 @@
6
#
7
# (c) 2019-2021 Fascode Network.
8
9
+#shellcheck disable=SC2001
10
+
11
set -e -u
12
13
aur_username="aurbuild"
@@ -42,8 +44,8 @@ while getopts "a:cd:e:p:u:xh" arg; do
42
44
a) aur_helper="${OPTARG}" ;;
43
45
c) pacman_debug=true ;;
46
e) aur_helper_command="${OPTARG}" ;;
- p) readarray -t pkglist < <(tr "," "\n" <<< "${OPTARG}") ;;
- d) readarray -t aur_helper_depends < <(tr "," "\n" <<< "${OPTARG}") ;;
47
+ p) readarray -t pkglist < <(sed "s|,$||g" <<< "${OPTARG}" | tr "," "\n") ;;
48
+ d) readarray -t aur_helper_depends < <(sed "s|,$||g" <<< "${OPTARG}" | tr "," "\n") ;;
49
u) aur_username="${OPTARG}" ;;
50
x) set -xv ;;
51
h)
0 commit comments