diff options
| -rwxr-xr-x | scripts/cp-noerror | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/cp-noerror b/scripts/cp-noerror index 474f7aa80a..28eb90d4a0 100755 --- a/scripts/cp-noerror +++ b/scripts/cp-noerror | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | # | 2 | # |
| 3 | # Allow copying of $1 to $2 but if files in $1 disappear during the copy operation, | 3 | # Allow copying of $1 to $2 but if files in $1 disappear during the copy operation, |
| 4 | # don't error. | 4 | # don't error. |
| 5 | # Also don't error if $1 disappears. | ||
| 5 | # | 6 | # |
| 6 | 7 | ||
| 7 | import sys | 8 | import sys |
| @@ -47,5 +48,5 @@ try: | |||
| 47 | copytree(sys.argv[1], sys.argv[2]) | 48 | copytree(sys.argv[1], sys.argv[2]) |
| 48 | except shutil.Error: | 49 | except shutil.Error: |
| 49 | pass | 50 | pass |
| 50 | 51 | except OSError: | |
| 51 | 52 | pass | |
