ossp-pkg/due/.duerc 1.1 -> 1.2
--- .duerc 2004/07/10 08:17:12 1.1
+++ .duerc 2004/10/22 21:17:58 1.2
@@ -72,6 +72,8 @@
local mod_name
for mod_name in . `cd ${mod_dir} && echo due.*.sh`; do
[ ".${mod_name}" = ".." -o ".${mod_name}" = ".*" ] && continue
+ mod_name=${mod_name/#due./}
+ mod_name=${mod_name/%.sh/}
eval "DUE_AVAILABLE=\"${DUE_AVAILABLE}${DUE_AVAILABLE:+,}${mod_name}\""
done
done
@@ -127,8 +129,8 @@
local mod_dir
for mod_dir in ${mod_path//:/ }; do
[ ".${mod_dir}" = . ] && continue
- if [ -f "${mod_dir}/${mod_name}" ]; then
- mod_file="${mod_dir}/${mod_name}"
+ if [ -f "${mod_dir}/due.${mod_name}.sh" ]; then
+ mod_file="${mod_dir}/due.${mod_name}.sh"
break
fi
done
|
|