| 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 if [ -d nspr ] | 8 if [ -d nspr ] |
| 9 then | 9 then |
| 10 mv nspr/* . | 10 mv nspr/* . |
| 11 elif [ -d mozilla/nsprpub ] | 11 elif [ -d mozilla/nsprpub ] |
| 12 then | 12 then |
| 13 mv mozilla/nsprpub/* . | 13 mv mozilla/nsprpub/* . |
| 14 else | 14 else |
| 15 echo "libnspr4.sh: package has unexpected directory structure. Please update t
his script." | 15 echo "libnspr4.sh: package has unexpected directory structure. Please update t
his script." |
| 16 return 1 | 16 return 1 |
| 17 fi | 17 fi |
| OLD | NEW |