From 187a80be7738b37c3c398d9274a23ade00cf9661 Mon Sep 17 00:00:00 2001
From: Giacomo Fiorin <giacomo.fiorin@gmail.com>
Date: Wed, 19 Jul 2017 22:21:49 -0400
Subject: [PATCH] Add forgotten decode() in Install.py

---
 lib/colvars/Install.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/colvars/Install.py b/lib/colvars/Install.py
index a367b8eeed..5b6b15dc3b 100644
--- a/lib/colvars/Install.py
+++ b/lib/colvars/Install.py
@@ -126,9 +126,9 @@ fp.close()
 
 print("Building lib%s.a ..." % lib)
 cmd = ["make -f Makefile.auto clean"]
-print(subprocess.check_output(cmd, shell=True))
+print(subprocess.check_output(cmd, shell=True).decode())
 cmd = ["make -f Makefile.auto -j12"]
-print(subprocess.check_output(cmd, shell=True))
+print(subprocess.check_output(cmd, shell=True).decode())
 
 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))
-- 
GitLab