/bin/sh -> /usr/bin/env sh

Better compatibility with NixOS
This commit is contained in:
Sumner Evans
2021-08-23 14:35:19 -06:00
parent e57e5d7cf8
commit a4e6f19a33
6 changed files with 8 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
#! /bin/sh #! /usr/bin/env sh
echo "[distutils]" >> ~/.pypirc echo "[distutils]" >> ~/.pypirc
echo "index-servers =" >> ~/.pypirc echo "index-servers =" >> ~/.pypirc

View File

@@ -1,4 +1,5 @@
#! /bin/sh #! /usr/bin/env sh
export PYENV_ROOT="${HOME}/.pyenv" export PYENV_ROOT="${HOME}/.pyenv"
export PATH="${PYENV_ROOT}/bin:$PATH" export PATH="${PYENV_ROOT}/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"

View File

@@ -1,4 +1,4 @@
#! /bin/bash #! /usr/bin/env bash
set -e set -e

View File

@@ -1,4 +1,4 @@
#! /bin/sh #! /usr/bin/env sh
pytest pytest
ec=$? ec=$?

View File

@@ -1,4 +1,5 @@
#! /bin/sh #! /usr/bin/env sh
export PYENV_ROOT="${HOME}/.pyenv" export PYENV_ROOT="${HOME}/.pyenv"
export PATH="${PYENV_ROOT}/bin:$PATH" export PATH="${PYENV_ROOT}/bin:$PATH"
eval "$(pyenv init -)" eval "$(pyenv init -)"

View File

@@ -1,4 +1,4 @@
#! /bin/sh #! /usr/bin/env sh
# Technique from https://georgik.rocks/how-to-start-d-bus-in-docker-container/ # Technique from https://georgik.rocks/how-to-start-d-bus-in-docker-container/
dbus-uuidgen > /var/lib/dbus/machine-id dbus-uuidgen > /var/lib/dbus/machine-id