correctly compute hash for temporary directory used by manual building

This commit is contained in:
Axel Kohlmeyer
2018-12-03 14:59:43 -05:00
parent 67041a5446
commit 4af7e706d7

View File

@ -1,7 +1,7 @@
# Makefile for LAMMPS documentation
SHELL = /bin/bash
SHA1 = $(shell echo $USER-$PWD | python utils/sha1sum.py)
SHELL = /bin/bash
SHA1 = $(shell echo ${USER}-${PWD} | python utils/sha1sum.py)
BUILDDIR = /tmp/lammps-docs-$(SHA1)
RSTDIR = $(BUILDDIR)/rst
VENV = $(BUILDDIR)/docenv