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

Unified Diff: experimental/webtry/setup/webtry_setup.sh

Issue 618013004: fix sudo redirection in setup script (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 6 years, 2 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: experimental/webtry/setup/webtry_setup.sh
diff --git a/experimental/webtry/setup/webtry_setup.sh b/experimental/webtry/setup/webtry_setup.sh
index 818135276cb2cf127abac94c2442ed3945dfd067..43f0adc1952898d465f213a8851ea9ec53905200 100755
--- a/experimental/webtry/setup/webtry_setup.sh
+++ b/experimental/webtry/setup/webtry_setup.sh
@@ -29,7 +29,7 @@ if [ ! -d ${CHROOT_JAIL} ]; then
sudo cp setup_jail.sh ${CHROOT_JAIL}/bin
sudo chmod 755 ${CHROOT_JAIL}/bin/setup_jail.sh
sudo chroot ${CHROOT_JAIL} /bin/setup_jail.sh
- sudo echo "none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0" >> ${CHROOT_JAIL}/etc/fstab
+ sudo sh -c "echo 'none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0' >> ${CHROOT_JAIL}/etc/fstab"
fi
# the continue_install script will fetch the latest versions of
« 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