Chromium Code Reviews| Index: third_party/instrumented_libraries/scripts/libnspr4.sh |
| diff --git a/third_party/instrumented_libraries/scripts/libnspr4.sh b/third_party/instrumented_libraries/scripts/libnspr4.sh |
| index 9ca669c8605e263eb861c80c156057d654ad5afb..07b790800c4ca0adf16a14ad6c2bccbfcf3e3c73 100755 |
| --- a/third_party/instrumented_libraries/scripts/libnspr4.sh |
| +++ b/third_party/instrumented_libraries/scripts/libnspr4.sh |
| @@ -5,4 +5,13 @@ |
| # This script does some preparations before build of instrumented libnspr4. |
| -mv mozilla/nsprpub/* . |
| +if [ -d nspr ] |
| +then |
| + mv nspr/* . |
| +elif [ -d mozilla/nsprpub ] |
| +then |
| + mv mozilla/nsprpub/* . |
| +else |
| + echo "libnspr4.sh: package has unexpected directory structure. Please update this script." |
|
Alexander Potapenko
2014/09/25 08:14:37
I'd prefer a line wrap here.
|
| + return 1 |
| +fi |