Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # This script does some preparations before build of instrumented libnspr4. | 6 # This script does some preparations before build of instrumented libnspr4. |
| 7 | 7 |
| 8 mv mozilla/nsprpub/* . | 8 if [ -d nspr ] |
| 9 then | |
| 10 mv nspr/* . | |
| 11 elif [ -d mozilla/nsprpub ] | |
| 12 then | |
| 13 mv mozilla/nsprpub/* . | |
| 14 else | |
| 15 echo "libnspr4.sh: package has unexpected directory structure. Please update t his script." | |
|
Alexander Potapenko
2014/09/25 08:14:37
I'd prefer a line wrap here.
| |
| 16 return 1 | |
| 17 fi | |
| OLD | NEW |