Skip to content

Commit

Permalink
docs(pipenv): switch to 'id -u' when creating a pipenv
Browse files Browse the repository at this point in the history
'id --user' is not POSIX and missing on some systems
  • Loading branch information
Jean-Louis Fuchs committed May 18, 2020
1 parent 4c2f673 commit 06983b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pipenv install -d -r requirements-dev.txt
You can also run tests without the caluma-container:

```bash
echo UID=$(id --user) > .env
echo UID=$(id -u) > .env
echo ENV=dev >> .env
docker-compose up -d db
pipenv install --python 3.7 -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


pipenv_setup = """
echo UID=$(id --user) > .env
echo UID=$(id -u) > .env
echo ENV=dev >> .env
docker-compose up -d db
rm -f Pipfile*
Expand Down

0 comments on commit 06983b6

Please sign in to comment.