Index: openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl,v diff -u -N -r1.35.8.16 -r1.35.8.17 --- openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 7 Aug 2014 13:17:43 -0000 1.35.8.16 +++ openacs-4/packages/acs-tcl/tcl/apm-file-procs.tcl 23 Aug 2014 11:23:43 -0000 1.35.8.17 @@ -117,14 +117,14 @@ } { if { $path eq "" } { - set path "[acs_package_root_dir $package_key]/$package_key.info" + set path [acs_package_root_dir $package_key] } else { - set path "$path/$package_key/$package_key.info" + set path $path/$package_key } - if { [file exists $path] } { - return $path + if { [file exists $path/$package_key.info] } { + return $path/$package_key.info } - error "The $path/$package_key does not contain a package specification file ($package_key.info)." + error "The directory $path does not contain a package specification file ($package_key.info)." }