Describe [ -d "$homedir/$subdir/$onearg/CVS"? here.
No other page links to [ -d "$homedir/$subdir/$onearg/CVS" yet.