| OLD | NEW |
| 1 #!/system/bin/sh | 1 #!/system/bin/sh |
| 2 | 2 |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 # Android shell script to make the destination directory identical with the | 7 # Android shell script to make the destination directory identical with the |
| 8 # source directory, without doing unnecessary copies. This assumes that the | 8 # source directory, without doing unnecessary copies. This assumes that the |
| 9 # the destination directory was originally a copy of the source directory, and | 9 # the destination directory was originally a copy of the source directory, and |
| 10 # has since been modified. | 10 # has since been modified. |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 fi | 69 fi |
| 70 echo cd "$source" | 70 echo cd "$source" |
| 71 cd "$source" | 71 cd "$source" |
| 72 for f in ./* | 72 for f in ./* |
| 73 do | 73 do |
| 74 if [ -e "$f" ] | 74 if [ -e "$f" ] |
| 75 then | 75 then |
| 76 copy_if_older "$f" | 76 copy_if_older "$f" |
| 77 fi | 77 fi |
| 78 done | 78 done |
| OLD | NEW |