--- mkcmd-8.14.orig/lib/mkcmd/ubinst.sh 2004-10-10 19:47:07.066131368 -0500 +++ mkcmd-8.14/lib/mkcmd/ubinst.sh 2004-10-10 19:53:34.646770652 -0500 @@ -102,7 +102,9 @@ fi # remove the stray, if it exists [ -f $dest/$file ] && mv $dest/$file $into - cmp -s $file $into || install -c $file $into + cmp_dest=$into + [ -d $cmp_dest ] && cmp_dest=$cmp_dest/$file + cmp -s $file $cmp_dest || install -c $file $into done exit 0