Skip to content

Commit c02da50

Browse files
authored
Exit with status 0 from the cp.py copy file script on success (flutter#678)
This utility script to copy a file was always exiting with status 1.
1 parent 2e0671b commit c02da50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/cp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717

1818
def Main(src, dst):
1919
# Use copy instead of copyfile to ensure the executable bit is copied.
20-
return shutil.copy(src, os.path.normpath(dst))
20+
shutil.copy(src, os.path.normpath(dst))
21+
return 0
2122

2223

2324
if __name__ == '__main__':

0 commit comments

Comments
 (0)