summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
386d0e8)
Change-Id: I9b8254aa8d514ca8513f6c9c7872b4abf287cbd1
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
user=$(echo "$CREDENTIAL" | cut -f1 -d:)
pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
user=$(echo "$CREDENTIAL" | cut -f1 -d:)
pass=$(echo "$CREDENTIAL" | cut -f2 -d:)
+set +x # Disable `set -x` to prevent printing passwords
echo "machine ${machine%:*} login $user password $pass" > ~/.netrc
echo "machine ${machine%:*} login $user password $pass" > ~/.netrc