From 63f78b57946f4101ef90d57449d4cac8eb6d9b89 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Mon, 20 Jul 2020 06:35:18 -0600 Subject: [PATCH] Fix up Qalb --- scripts/docker-install-phase7.bash | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/docker-install-phase7.bash b/scripts/docker-install-phase7.bash index f4226a7..fc9ad33 100755 --- a/scripts/docker-install-phase7.bash +++ b/scripts/docker-install-phase7.bash @@ -163,11 +163,11 @@ if (args.length > 1) { process.exit(1); } -const program = args.length === 1 ? fs.readFileSync(args[0]) : null; +const program = args.length === 1 ? fs.readFileSync(args[0], "utf-8") : null; -eval(fs.readFileSync("public/qlb/qlb.js", "utf-8")); -eval(fs.readFileSync("public/qlb/parser.js", "utf-8")); -eval(fs.readFileSync("public/qlb/primitives.js", "utf-8")); +eval(fs.readFileSync("/opt/qalb/qlb.js", "utf-8")); +eval(fs.readFileSync("/opt/qalb/parser.js", "utf-8")); +eval(fs.readFileSync("/opt/qalb/primitives.js", "utf-8")); Qlb.init({console});