if [ -d "${x}" ] ; then
if [[ ${DOINSRECUR} == "n" ]] ; then
+ echo "!!! ${0##*/}: $x is a directory" 1>&2
+ ((ret|=1))
continue
fi
${0} -r {} \;
elif [ -s "${x}" ] ; then
- install -m0644 "${x}" "${dir}"
+ install -m0644 "${x}" "${dir}" || ((ret|=1))
elif [ ! -e "${x}" ] ; then
echo "!!! ${0##*/}: $x does not exist" 1>&2
((ret|=1))
ret=0
for x in "$@" ; do
- if [ -s "${x}" ] ; then
- install -m0644 "${x}" "${dir}"
+ if [ -d "${x}" ] ; then
+ eqawarn "QA Notice: dodoc argument '${x}' is a directory"
+ elif [ -s "${x}" ] ; then
+ install -m0644 "${x}" "${dir}" || { ((ret|=1)); continue; }
ecompress --queue "${dir}/${x##*/}"
elif [ ! -e "${x}" ] ; then
echo "!!! ${0##*/}: $x does not exist" 1>&2