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

Unified Diff: ports/pnacl/build.sh

Issue 1669063002: Add quotes in pnacl install step to avoid shell globing (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Created 4 years, 10 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: ports/pnacl/build.sh
diff --git a/ports/pnacl/build.sh b/ports/pnacl/build.sh
index 7cb17b95494bd9f7b349cc410ef2642ee2158722..829b344490d4a24ab0539cee9faa171302ff56b5 100644
--- a/ports/pnacl/build.sh
+++ b/ports/pnacl/build.sh
@@ -187,12 +187,12 @@ InstallStep() {
MakeDir ${INSTALL_DIR}/
LogExecute cp -r toolchain/* ${INSTALL_DIR}
- for f in $(find ${INSTALL_DIR} -type l -name *-clang*${NACL_EXEEXT}); do
+ for f in $(find ${INSTALL_DIR} -type l -name "*-clang*${NACL_EXEEXT}"); do
# link to clang binary
Remove $f ${f%.*}
LogExecute ln -s clang ${f%.*}
done
- for f in $(find ${INSTALL_DIR} -executable -type f -name *${NACL_EXEEXT}); do
+ for f in $(find ${INSTALL_DIR} -type f -name "*${NACL_EXEEXT}"); do
LogExecute mv $f ${f%.*}
done
}
« 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