mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
ba72994b41
`#!/usr/bin/env bash` should be used to avoid hard paths. To address: dockcross-manylinux-x64: bad interpreter: /bin/bash^M: no such file or directory
28 lines
426 B
Bash
Executable File
28 lines
426 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
PYTHON=python
|
|
while [ $# -gt 0 ]; do
|
|
case "$1" in
|
|
-python)
|
|
PYTHON=$2
|
|
shift
|
|
;;
|
|
*)
|
|
echo "Usage: Usage: ${0##*/} [-python /path/to/bin/python]"
|
|
exit 1
|
|
;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
cd /tmp
|
|
|
|
curl -# -LO https://bootstrap.pypa.io/get-pip.py
|
|
${PYTHON} get-pip.py --ignore-installed
|
|
rm get-pip.py
|
|
|
|
${PYTHON} -m pip install --ignore-installed conan
|