Fix crash on app list start page contents not existing.
[chromium-blink-merge.git] / third_party / instrumented_libraries / scripts / libnspr4.sh
blob07b790800c4ca0adf16a14ad6c2bccbfcf3e3c73
1 #!/bin/bash
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
4 # found in the LICENSE file.
6 # This script does some preparations before build of instrumented libnspr4.
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 this script."
16 return 1