aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@qosmos.com>2017-01-02 16:44:21 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-03 18:24:20 +0000
commitb17402ecd0a1e163d845d3c9e1abfe98d7435ca8 (patch)
treeab2b6da0c97e60f563e53ee1c959daf528fc7edf /Makefile
parentb05116ef0f13c6eccaff2093fc05e2f852b07452 (diff)
preserve environment when make install-dep
for those who work behind a firewall/proxy-server Change-Id: I099830d2da05296b2f109ca25576a1e865ddcce6 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 447f809ccf6..6af33b08c06 100644
--- a/Makefile
+++ b/Makefile
@@ -157,10 +157,10 @@ ifeq ($(OS_VERSION_ID),14.04)
endif
@sudo -E apt-get $(CONFIRM) $(FORCE) install $(DEB_DEPENDS)
else ifneq ("$(wildcard /etc/redhat-release)","")
- @sudo yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
- @sudo yum install $(CONFIRM) $(RPM_DEPENDS)
- @sudo yum install $(CONFIRM) --enablerepo=epel $(EPEL_DEPENDS)
- @sudo debuginfo-install $(CONFIRM) glibc-2.17-106.el7_2.4.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 zlib-1.2.7-15.el7.x86_64
+ @sudo -E yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
+ @sudo -E yum install $(CONFIRM) $(RPM_DEPENDS)
+ @sudo -E yum install $(CONFIRM) --enablerepo=epel $(EPEL_DEPENDS)
+ @sudo -E debuginfo-install $(CONFIRM) glibc-2.17-106.el7_2.4.x86_64 openssl-libs-1.0.1e-51.el7_2.4.x86_64 zlib-1.2.7-15.el7.x86_64
else
$(error "This option currently works only on Ubuntu or Centos systems")
endif