The absolte patch script now test errors better and uses readlink for compatibility