From e0ac74bc51c6f37d5ff772210a7499fd5938f54d Mon Sep 17 00:00:00 2001 From: LinuxMint4Ever <> Date: Wed, 19 Feb 2020 04:09:31 +0100 Subject: [PATCH] fixed stupid mistake preventing the deployment script from running properly before first run ... Ha! --- deployment-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment-script.sh b/deployment-script.sh index 09ecfa0..a70a279 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -5,7 +5,7 @@ echo "Deployment script for repository \"web-deployment\" echo "Replacing %CONTENT_DIR% in all HTML and PHP files." CONTENT_DIR="/common/content" -echo -e "`find ./ -name '*.html' -or -name '*.php' | sed "s/^/workingfile=\'/;s/\$/\'\; cat \\\$workingfile > .\/tmpdeploymentfile\; cat tmpdeploymentfile | sed \'s#%CONTENT_DIR%#\$CONTENT_DIR#\' > \\\$workingfile/"`\nrm tmpdeploymentfile" +echo -e "`find ./ -name '*.html' -or -name '*.php' | sed "s/^/workingfile=\'/;s/\$/\'\; cat \\\$workingfile > .\/tmpdeploymentfile\; cat tmpdeploymentfile | sed \'s#%CONTENT_DIR%#\$CONTENT_DIR#\' > \\\$workingfile/"`\nrm tmpdeploymentfile" | bash - echo "============================================================================== Done."