From 6ead86db657ad4db4c172b18df109058a75f4979 Mon Sep 17 00:00:00 2001 From: Christoffer Date: Tue, 18 Dec 2018 13:00:14 +0000 Subject: [PATCH] Bug: fix error in function writeBirdConfig --- _functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_functions.php b/_functions.php index e8a6e5d..16b757a 100755 --- a/_functions.php +++ b/_functions.php @@ -4,7 +4,7 @@ * Function: * fetchUpstreamMaster () * - *Ensure registry repository master branch is up-to-date. + * Ensure registry repository master branch is up-to-date. */ function fetchUpstreamMaster () { @@ -77,6 +77,10 @@ function commitPushToRemotes () function writeBirdConfig () { + $fq = fopen ('roa/bird_roa_dn42.conf', 'w'); + $fq4 = fopen ('roa/bird4_roa_dn42.conf', 'w'); + $fq6 = fopen ('roa/bird6_roa_dn42.conf', 'w'); + fwrite ($fq, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'")); fwrite ($fq4, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'")); fwrite ($fq6, shell_exec ("/usr/bin/git -C ../registry/ show | sed 's/^/# /g'"));