common: Fix bash shell script invocation

`#!/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
This commit is contained in:
Matt McCormick
2018-06-13 14:12:52 -04:00
parent 5ce3579933
commit ba72994b41
21 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
for PIP in /opt/python/*/bin/pip; do
$PIP install --disable-pip-version-check --upgrade pip

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
for DIR in /opt/python/*/lib/python*/site-packages; do
chown -R $BUILDER_UID:$BUILDER_GID $DIR