From 488b375a0147752d79fffae04a3c403a6feee0fd Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Tue, 4 Dec 2018 15:55:43 -0500 Subject: [PATCH] Fix crontab generation The old cat with heredoc wasn't working to build the crontab properly on Xenial in buildeg.sh. We change it to use a sed command instead. This also gives us a little more control over where the SHELL variable goes in the output file. Signed-off-by: Jason Stephenson --- scripts/postbuild.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/postbuild.sh b/scripts/postbuild.sh index 46b2b5d..fa3bb7a 100755 --- a/scripts/postbuild.sh +++ b/scripts/postbuild.sh @@ -194,11 +194,9 @@ osrf_control --localhost --start-all sudo systemctl restart apache2 # Setup crontab -cat - Open-ILS/examples/crontab.example > /home/opensrf/crontab < /home/opensrf/crontab crontab /home/opensrf/crontab echo "Complete at: \$(date)" -- 2.11.0