소스 검색

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

andryyy 6 년 전
부모
커밋
3873b7a768
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      update.sh

+ 4 - 1
update.sh

@@ -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