From 0bb32748b92a830e9f6496b3d2101da953cdd02e Mon Sep 17 00:00:00 2001 From: mik-tf Date: Thu, 22 Feb 2024 15:04:48 +0000 Subject: [PATCH] Update scripts/hero_mdbook.sh added line to properly install mdbook --- scripts/hero_mdbook.sh | 125 +++++++++++++++++++++-------------------- 1 file changed, 63 insertions(+), 62 deletions(-) diff --git a/scripts/hero_mdbook.sh b/scripts/hero_mdbook.sh index d94caa1..b9b6421 100644 --- a/scripts/hero_mdbook.sh +++ b/scripts/hero_mdbook.sh @@ -1,63 +1,64 @@ -#!/bin/bash - -# Generate opening text. -cat < /tmp/hero_install.sh -bash /tmp/hero_install.sh - -# Start the SSH agent, run hero mdbook and build the mdbook -eval $(ssh-agent) -hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript -cd /root/hero/var/mdbuild/duniayetu -mdbook build - -# Generate closing text after successful script. -cat < /tmp/hero_install.sh +bash /tmp/hero_install.sh + +# Start the SSH agent, run hero mdbook and build the mdbook +eval $(ssh-agent) +hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript +cd /root/hero/var/mdbuild/duniayetu +mdbook build + +# Generate closing text after successful script. +cat < /dev/null; exit \ No newline at end of file