From 8958d533221175143a6ab2bad6e83f8d47ab33f8 Mon Sep 17 00:00:00 2001
From: BodgeMaster <>
Date: Tue, 25 Feb 2020 15:06:28 +0100
Subject: [PATCH] idc read the changes yourself if you see the need
---
deployment-script.sh | 3 ++-
variable_grabbler.pass0.json | 4 ++++
variable_grabbler.cfg => variable_grabbler.pass1.json | 0
3 files changed, 6 insertions(+), 1 deletion(-)
create mode 100644 variable_grabbler.pass0.json
rename variable_grabbler.cfg => variable_grabbler.pass1.json (100%)
diff --git a/deployment-script.sh b/deployment-script.sh
index 126e423..d20b80e 100755
--- a/deployment-script.sh
+++ b/deployment-script.sh
@@ -3,7 +3,8 @@ echo "Deployment script for repository \"web-deployment\"
`date`
=============================================================================="
-echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.cfg/'`" | bash -
+echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass0.json/'`" | bash -
+echo -n "`find -name "*.php" -or -name "*.html" | sed 's/^/python variable_grabbler.py /;s/$/ variable_grabbler.pass1.json/'`" | bash -
echo "==============================================================================
Done."
diff --git a/variable_grabbler.pass0.json b/variable_grabbler.pass0.json
new file mode 100644
index 0000000..ca0f653
--- /dev/null
+++ b/variable_grabbler.pass0.json
@@ -0,0 +1,4 @@
+{
+"LOGIN_LINK":"Log out\";} else { echo \"Log in\";} ?>",
+"HOME_LINK":"\";} else { echo \"\";} ?>"
+}
diff --git a/variable_grabbler.cfg b/variable_grabbler.pass1.json
similarity index 100%
rename from variable_grabbler.cfg
rename to variable_grabbler.pass1.json