diff options
author | Behnam Momeni | 2019-04-26 12:38:23 +0430 |
---|---|---|
committer | Behnam Momeni | 2019-04-26 12:38:23 +0430 |
commit | de87b82c6a529461716890b02371e334bee6c714 (patch) | |
tree | 8a111262e5267768da99107c679576ef8a91b5ec /download-deps.sh | |
parent | 837ed10b94a6d496618c3207e7ad1511c99f061c (diff) | |
download | aur-de87b82c6a529461716890b02371e334bee6c714.tar.gz |
Updating to 19.04
Diffstat (limited to 'download-deps.sh')
-rwxr-xr-x | download-deps.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/download-deps.sh b/download-deps.sh index f8584d30a1a8..1aa639c4e9e1 100755 --- a/download-deps.sh +++ b/download-deps.sh @@ -47,7 +47,7 @@ onlinebestmatch() { echo "$fullname" else local json="$(npm view --json "$package@$semverspec")" - if [ $(echo "$json" | jq -r '.version?//"INVALID"') = "INVALID" ]; then + if [ $(echo "$json" | jq -r '.version? // "INVALID"') = "INVALID" ]; then json=$(echo "$json" | jq '.[0]') fi local version="$(echo "$json" | jq -r '.version' | head -n1)" @@ -112,7 +112,6 @@ downloaddeps() { local target="$(onlinebestmatch "$package" "$semverspec")" recursivedownloaddeps "$target" done - recursivedownloaddeps "babel-core-6.26.0.tgz" } createlist() { |