Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: third_party/instrumented_libraries/scripts/libnspr4.sh

Issue 602823002: Re-land r296395: "Instrumented libraries: update the libnspr4 build script." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698