add sharedir to master, too