Changeset 225806 in webkit
- Timestamp:
- Dec 12, 2017 2:23:17 PM (6 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r225786 r225806 1 2017-12-12 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 Don't require perl(File::Copy::Recursive) 4 https://bugs.webkit.org/show_bug.cgi?id=180479 5 <rdar://problem/35944218> 6 7 Reviewed by Daniel Bates. 8 9 Fix the error handling. I added this at the last moment and failed to test. The logic is 10 inverted, causing an error to always be reported on success. 11 12 Add a missing 'mkdir -p' using File::Path::make_path. This has its own built-in error 13 reporting, so no need to add our own. 14 15 * Scripts/copy-user-interface-resources.pl: 16 (ditto): 17 1 18 2017-12-12 Michael Catanzaro <mcatanzaro@igalia.com> 2 19 -
trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
r225786 r225806 50 50 # Ditto copies the *contents* of the source directory, not the directory itself. 51 51 opendir(my $dh, $source) or die "Can't open $source: $!"; 52 make_path($destination); 52 53 while (readdir $dh) { 53 54 if ($_ ne '..' and $_ ne '.') { 54 system('cp', '-R', "${source}/$_", $destination) or die "Failed to copy ${source}/$_ to $destination";55 system('cp', '-R', "${source}/$_", $destination) == 0 or die "Failed to copy ${source}/$_ to $destination"; 55 56 } 56 57 }
Note: See TracChangeset
for help on using the changeset viewer.