From 24287c178651b343dfc5cccfa4500b0ae5c9094a Mon Sep 17 00:00:00 2001 From: LinuxMint4Ever <> Date: Wed, 19 Feb 2020 04:40:40 +0100 Subject: [PATCH] another fix.... --- deployment-script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment-script.sh b/deployment-script.sh index a70a279..8fb6130 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -4,8 +4,8 @@ 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" | bash - +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" | bash - echo "============================================================================== Done."