READMEs are not a part of our WebSite
parent
37b3afd16f
commit
d61936b426
|
@ -3,6 +3,11 @@ echo "Deployment script for repository \"web-deployment\"
|
|||
`date`
|
||||
=============================================================================="
|
||||
|
||||
#activate ** globs
|
||||
if [ -n "`shopt globstar | grep off`" ]; then shopt -s globstar; fi
|
||||
#remove READMEs
|
||||
rm ./threadr/**/README.md
|
||||
|
||||
#run the code variable replacement
|
||||
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 -
|
||||
|
@ -25,5 +30,6 @@ cp -v ./commands_ondemand.conf /var/www/strassenkind.ip/
|
|||
cp -v ./commands_status.conf /var/www/strassenkind.ip/
|
||||
echo "Done."
|
||||
|
||||
|
||||
echo "==============================================================================
|
||||
Done."
|
||||
|
|
Loading…
Reference in New Issue