fix logic error in generic Install.py script when a Makefile.lammps is missing

This commit is contained in:
Axel Kohlmeyer 2020-02-19 18:10:32 +01:00
parent 7434267f57
commit 8a52e5dbe7
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 5 additions and 2 deletions

View File

@ -45,8 +45,11 @@ if not args.machine and not args.extramake:
sys.exit(HELP)
machine = args.machine
extraflag = not args.extramake
suffix = args.extramake
extraflag = args.extramake
if extraflag:
suffix = args.extramake
else:
suffix = 'empty'
# set lib from working dir