Hi,
Do you want to move it on the secondary, too? That'd be more problematic
I'd say no, it won't break it. Log shipping is just a backup, copy, restore of the transaction logs on a schedule. None of that has any reliance over where the database files physically reside.