Index: openacs-4/packages/acs-admin/www/apm/build-repository.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/Attic/build-repository.tcl,v diff -u -N -r1.17 -r1.18 --- openacs-4/packages/acs-admin/www/apm/build-repository.tcl 15 Jan 2007 07:53:00 -0000 1.17 +++ openacs-4/packages/acs-admin/www/apm/build-repository.tcl 27 Jun 2015 16:41:07 -0000 1.18 @@ -162,7 +162,7 @@ set package_key [lindex [file split $spec_file] end-1] set version_id [apm_version_id_from_package_key $package_key] - if { [lsearch -exact $exclude_package_list $package_key] != -1 } { + if {$package_key in $exclude_package_list} { ns_write "Package $package_key is on list of packages to exclude - skipping" continue } @@ -177,7 +177,7 @@ with_catch errmsg { array set version [apm_read_package_info_file $spec_file] - if { [lsearch -exact $packages $version(package.key)] != -1 } { + if {$version(package.key) in $packages} { ns_write "