DCD-800: pipe stderr to iconv as well as stdout

This commit is contained in:
Ben Partridge
2019-11-29 10:55:20 +11:00
parent 5490651e9e
commit 45e357fdd2

View File

@@ -21,7 +21,7 @@ export PATH=/usr/local/bin:$PATH
pip3 install pipenv
echo "Installing ansible and dependencies..."
PIPENV_NOSPIN=1 PIPENV_HIDE_EMOJIS=1 pipenv sync | iconv -c -f utf-8 -t ascii
PIPENV_NOSPIN=1 PIPENV_HIDE_EMOJIS=1 pipenv sync 2>&1 | iconv -c -f utf-8 -t ascii
if [[ $1 == "--dev" ]]; then
pipenv sync --dev