diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-05 18:53:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-05 18:53:28 +0200 |
commit | 2e9a698a0efdfe179cea557d7a204cdfaaca1b43 (patch) | |
tree | 983e18fdd38b51e19870fd28c1f63016750fadbd /rep-test | |
parent | dc0ebced649c7ca5ff93884ec2fecdebac2818b1 (diff) |
Adjust to renamed repository manifest files
Diffstat (limited to 'rep-test')
-rwxr-xr-x | rep-test | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -5,9 +5,9 @@ # Usage: update [options] <dir> # # First, the script determines the list of repositories/sections. If <dir> -# contains the 'repositories' file, then it is the only repository to be -# tested. Otherwise, every first-level subdirectory of <dir> that doesn't -# start with '.' and contains the 'repositories' file is to be tested. +# contains the repositories.manifest file, then it is the only repository to +# be tested. Otherwise, every first-level subdirectory of <dir> that doesn't +# start with '.' and contains the repositories.manifest file is to be tested. # # Then, it makes sure that every package in every repository can be built # in a clean configuration. @@ -126,7 +126,7 @@ function check_new () # <pkg> <ver> # rep= -if [ -f "$dir/repositories" ]; then +if [ -f "$dir/repositories.manifest" ]; then rep=$dir else sub=`find $dir -mindepth 1 -maxdepth 1 -type d -name '[^.]*'` @@ -139,10 +139,10 @@ else info "skipping excluded $d/" continue fi - if [ -f "$d/repositories" ]; then + if [ -f "$d/repositories.manifest" ]; then rep+=" $d" else - info "no 'repositories' file in $d/, skipping" + info "no repositories.manifest file in $d/, skipping" fi done |