diff options
Diffstat (limited to 'src/dagpkg')
-rwxr-xr-x | src/dagpkg | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -134,13 +134,13 @@ visit_pkgbuild() { marks[$name]=1 # Recurse into dependencies - local d + local d w for d in "${depends[@]}" "${makedepends[@]}" "${checkdepends[@]}"; do # Cleanup dependency versions - d=$(echo $d | sed "s/[<>=].*//") + d=${d%%<*}; d=${d%%>*}; d=${d%%=*} # Where's the pkgbuild? - local w=$(toru-where $d) + w=$(toru-where "$d") # Skip if not available test -z "$w" && continue |