Skip to content
This repository was archived by the owner on Dec 16, 2024. It is now read-only.

Commit 7a64ac0

Browse files
authored
Merge pull request #1 from mateoguzman/VCAC-A_R6/proxy-fix
Fix vcad_build.sh script error when not using proxy
2 parents 2639193 + 24015a1 commit 7a64ac0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

VCAC-A/Intel_Media_Analytics_Node/scripts/vcad_build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -661,14 +661,15 @@ install_vcad() {
661661
fi
662662
fi
663663
#set git proxy
664-
if [ ! $HTTP_PROXY ] ; then
664+
if [ -z "${HTTP_PROXY-}" ] ; then
665665
git_proxy_flag=0
666666

667667
else
668668
git_proxy_flag=1
669-
git_http_proxy=$HTTP_PROXY
670-
git_https_proxy=$HTTPS_PROXY
671669
fi
670+
git_https_proxy="${HTTPS_PROXY-}"
671+
git_http_proxy="${HTTP_PROXY-}"
672+
672673
# generate install script
673674
_cd ${BUILD_DIR}
674675
cat > install_package_in_image.sh <<EOF

0 commit comments

Comments
 (0)