From d603d084c4bca38316ff0e287e430288cd4c9a25 Mon Sep 17 00:00:00 2001 From: Giacomo Fiorin Date: Mon, 3 Dec 2018 18:12:10 -0500 Subject: [PATCH] Fix typo, whitespace cleanup --- lib/colvars/Install.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/colvars/Install.py b/lib/colvars/Install.py index a17c5bab5e..60cee31393 100644 --- a/lib/colvars/Install.py +++ b/lib/colvars/Install.py @@ -122,13 +122,13 @@ fp.close() n_cpus = get_cpus() print("Building lib%s.a ..." % lib) -cmd = ["make -f Makefile.auto clearn; make -f Makefile.auto -j%d" % n_cpus] +cmd = ["make -f Makefile.auto clean; make -f Makefile.auto -j%d" % n_cpus] try: - txt = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=True); + txt = subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True); print(txt.decode('UTF-8')) except subprocess.CalledProcessError as e: print("Make failed with:\n %s" % e.output.decode('UTF-8')) - sys.exit(1) + sys.exit(1) if os.path.exists("lib%s.a" % lib): print("Build was successful") else: error("Build of lib/%s/lib%s.a was NOT successful" % (lib,lib))