From 149366e884747769b4b2cb810e5d8f328164cf23 Mon Sep 17 00:00:00 2001 From: humper Date: Thu, 2 Oct 2014 10:36:59 -0700 Subject: [PATCH] fix sudo redirection in setup script BUG=skia: Review URL: https://codereview.chromium.org/618013004 --- experimental/webtry/setup/webtry_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experimental/webtry/setup/webtry_setup.sh b/experimental/webtry/setup/webtry_setup.sh index 8181352..43f0adc 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 -- 2.7.4