Skip to content
Snippets Groups Projects
Commit ee1b5356 authored by Frank Steinberg's avatar Frank Steinberg
Browse files

Minor changes.

parent 00afb179
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ distclean: clean
## Web Editor stuff -- this works only with additional manual adjustments
background:
@nohup sh -c 'if [ ! -e .background ] ; then touch .background ; rm -f .background-again bjcp-2015-styleguide-de.xml web/bjcp-2015-styleguide-de.xml ; make ; rm .background ; if [ -e .background-again ] ; then rm bjcp-2015-styleguide-de.xml web/bjcp-2015-styleguide-de.xml ; make background ; fi ; else touch .background-again ; fi' >/dev/null 2>&1 &
@nohup sh -c 'if [ ! -e .background ] ; then touch .background ; rm -f .background-again bjcp-2015-styleguide-de.xml web/bjcp-2015-styleguide-de.xml ; make ; if [ -e .git-push ] ; then rm .git-push ; git push ; fi ; rm .background ; if [ -e .background-again ] ; then rm bjcp-2015-styleguide-de.xml web/bjcp-2015-styleguide-de.xml ; make background ; fi ; else touch .background-again ; fi' >/dev/null 2>&1 &
install-home:
ssh z "cd /var/www ; if [ -d bjcp-2015-styleguide ] ; then cd bjcp-2015-styleguide ; sudo -u www-data git pull ; sudo -u www-data make ; else sudo -u www-data git clone https://github.com/frsteinb/bjcp-2015-styleguide.git ; cd bjcp-2015-styleguide ; sudo -u www-data mkdir web/snippets ; sudo -u www-data make ; fi"
......
......@@ -151,7 +151,8 @@ if os.path.isfile(translatedfilename) or os.path.isfile(origfilename):
if os.path.isfile("/var/www/.ssh/id_rsa"):
log("pushing to GitHub repository")
cmd = 'git push'
#cmd = 'git push'
cmd = 'touch .git-push'
docmd(cmd)
log("updating files in the background... otherwise done.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment