643415f366
Use the wrapper calls from Ia267a60eecfa8f4071dd477d86daebe07e9a7e38 to install glean. Using this wrapper means we cover all cases without more and more branches; it should work for python2, python3 and also the special case of RHEL/CentOS where dib-python points to the special /usr/libexec/platform-python (which is python3.6 with inbuilt pip) Change-Id: If624e8bb66ce0761fc0d5f34c2bed8b93a7daeee
24 lines
744 B
Bash
Executable file
24 lines
744 B
Bash
Executable file
#!/bin/bash
|
|
# Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
#
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
$DIB_PYTHON_PIP install /tmp/glean.git
|