Fix jshon calls
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
97d6852e92
commit
56a2817649
6
prm
6
prm
|
@ -108,7 +108,7 @@ aur.get() {
|
||||||
read -r pkg_aur_info
|
read -r pkg_aur_info
|
||||||
|
|
||||||
# A temporary hack till AUR4 becomes the main version
|
# A temporary hack till AUR4 becomes the main version
|
||||||
read -r pkg_base < <( jshon -e results -e PackageBase -u <<< "$pkg_aur_info" )
|
read -r pkg_base < <( jshon -e results -a -e Name -u <<< "$pkg_aur_info" )
|
||||||
tarball_path="/cgit/aur.git/snapshot/${pkg_base}.tar.gz"
|
tarball_path="/cgit/aur.git/snapshot/${pkg_base}.tar.gz"
|
||||||
|
|
||||||
cd "$cfg_workdir"
|
cd "$cfg_workdir"
|
||||||
|
@ -136,8 +136,8 @@ aur.get() {
|
||||||
cd "${cfg_workdir}/${pkg_base}"
|
cd "${cfg_workdir}/${pkg_base}"
|
||||||
|
|
||||||
read -d '' -r -a depends < <(
|
read -d '' -r -a depends < <(
|
||||||
jshon -e results -e Depends -a -u <<< "$pkg_aur_info" 2>/dev/null
|
jshon -Q -e results -a -e Depends -a -u <<< "$pkg_aur_info"
|
||||||
jshon -e results -e MakeDepends -a -u <<< "$pkg_aur_info" 2>/dev/null
|
jshon -Q -e results -a -e MakeDepends -a -u <<< "$pkg_aur_info"
|
||||||
)
|
)
|
||||||
|
|
||||||
for i in "${depends[@]}"; do
|
for i in "${depends[@]}"; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user