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

Unified Diff: build_tools/common.sh

Issue 495183003: Adding R port. Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: merge Created 6 years, 4 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 | ports/r/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_tools/common.sh
diff --git a/build_tools/common.sh b/build_tools/common.sh
index c03bbef595d9a4b9fac6eefc0ccdc875b61a9c99..4295b192b1e28e1be3d9648f4d84afb4a823f6e1 100644
--- a/build_tools/common.sh
+++ b/build_tools/common.sh
@@ -618,7 +618,7 @@ PublishByArchForDevEnv() {
if [[ "${TOOLCHAIN}" = "glibc" || "${TOOLCHAIN}" = "bionic" ]]; then
# Run create_nmf for non-scripts.
# TODO(bradnelson): Do something prettier.
- if [ "$(head -c 2 ${nexe})" != "#!" ]; then
+ if [[ "${nexe}" != *.so && "$(head -c 1 ${nexe})" != "#" ]]; then
pushd ${ARCH_DIR}
# Create a temporary name ending in .nexe so create_nmf does the right
# thing.
« no previous file with comments | « no previous file | ports/r/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698