[Debexpo-devel] [debexpo] 17/32: Use tee to redirect output correctly
Kentaro Hayashi
kenhys-guest at moszumanska.debian.org
Sat Aug 19 06:51:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
kenhys-guest pushed a commit to branch master
in repository debexpo.
commit 7bb47e8d2243048e43f2b918b88220ee539bcd75
Author: Kentaro Hayashi <kenhys at gmail.com>
Date: Sun Jun 12 16:28:21 2016 +0900
Use tee to redirect output correctly
---
.travis.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index d9f3ff9..fa805de 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,8 +6,8 @@ install:
- sudo apt-get update
# Now, set up postfix to discard all outbound email,
- sudo apt-get install postfix
- - echo '* discard:' | sudo sh -c 'cat > /etc/postfix/discard-transport'
- - echo 'transport_maps = hash:/etc/postfix/discard-transport' | sudo sh -c 'cat >> /etc/postfix/main.cf'
+ - echo '* discard:' | sudo tee /etc/postfix/discard-transport
+ - echo 'transport_maps = hash:/etc/postfix/discard-transport' | sudo tee -a /etc/postfix/main.cf
- sudo postmap /etc/postfix/discard-transport
- sudo service postfix restart
# OK, install normal dependencies.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debexpo/debexpo.git
More information about the Debexpo-devel
mailing list