Skip to content

Commit a5b4b06

Browse files
authored
Allow N in -pN to have multiple digits.
1 parent 09ef111 commit a5b4b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud_archive.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def cloud_archive_download(
127127
patch_args[0][2:].isdigit())
128128
strip_n = 0
129129
if only_strip_param:
130-
strip_n = int(patch_args[0][2])
130+
strip_n = int(patch_args[0][2:])
131131

132132
if patch_args == None or only_strip_param:
133133
# OK to use built-in patch.

0 commit comments

Comments
 (0)