index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/nit-picker | 2 | ||||
-rwxr-xr-x | lib/common-functions | 7 |
diff --git a/bin/nit-picker b/bin/nit-picker index 4382389..70adcdd 100755 --- a/bin/nit-picker +++ b/bin/nit-picker @@ -170,7 +170,7 @@ while pgrep -x ii >/dev/null \ "${tmp_dir}/" extract_dependencies_from_package \ "${tmp_dir}/${parameters}" \ - "${tmp_dir}/pkg-deps" + > "${tmp_dir}/pkg-deps" { printf 'SELECT' printf ' `dependency_types`.`name`,' diff --git a/lib/common-functions b/lib/common-functions index 630b232..1b8eee7 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -1046,8 +1046,8 @@ update_blocked_packages_count() { ) } -# extract_dependencies_from_package $pkgfile $depfile -# extract make-, run- and check-depends from $pkgfile into $depfile +# extract_dependencies_from_package $pkgfile +# extract make-, run- and check-depends from $pkgfile # format: deptype install_target version_relation epoch version extract_dependencies_from_package() { { @@ -1080,6 +1080,5 @@ extract_dependencies_from_package() { ' } \ | tr '[:upper:]' '[:lower:]' \ - | sort -u \ - > "$2" + | sort -u } |