Handle missing CREDENTIAL when creating .netrc 83/11083/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 6 Jun 2018 20:57:55 +0000 (16:57 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 6 Jun 2018 21:08:16 +0000 (17:08 -0400)
commitad6bd3d20148474280aa37718de557dda95de75b
tree9be2b41535b786ff9a838ec0d38844910fed09f3
parentb9e325439ed315886ab19affbdacdc26613ba06a
Handle missing CREDENTIAL when creating .netrc

Move the `set -eu -o pipefail` to after CREDENTIAL is set so that
we can properly error handle. Otherwise the script will exit too
soon.

Change-Id: I58edd3deb5b928a9ebaa4e00f6ed83d652e62d70
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/create-netrc.sh