[Update] Add /opt/bin to PATH, fixes #2391

This commit is contained in:
andryyy 2019-03-02 23:48:20 +01:00
parent 1e79ea6c7e
commit 3873b7a768
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -6,9 +6,12 @@ if [ "$(id -u)" -ne "0" ]; then
exit 1
fi
#exit on error and pipefail
# Exit on error and pipefail
set -o pipefail
# Add /opt/bin to PATH
PATH=$PATH:/opt/bin
umask 0022
for bin in curl docker-compose docker git awk sha1sum; do