mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 13:45:19 -04:00
precommit: Improve entrypoint.sh and quiet pip
This commit is contained in:
parent
e0d80e264b
commit
a9e0f95442
3 changed files with 10 additions and 7 deletions
|
|
@ -69,7 +69,7 @@ def main():
|
|||
|
||||
# Store candidate before changing base directory and creating scratch dir.
|
||||
candidate_file_list = [os.path.abspath(fn) for fn in args.files]
|
||||
base_dir = Path(__file__).parent.parent.parent.resolve()
|
||||
base_dir = Path(__file__).resolve().parent.parent.parent
|
||||
os.chdir(base_dir)
|
||||
SCRATCH_DIR.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue