fixed stupid mistake preventing the deployment script from running properly before first run ... Ha!

master
LinuxMint4Ever 2020-02-19 04:09:31 +01:00
parent 1a5f0d60ec
commit e0ac74bc51
1 changed files with 1 additions and 1 deletions

View File

@ -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."