patch_relative_paths needs arrays, which need bash