From ec48954d88949f567f8b9d24c112de3a710fb13a Mon Sep 17 00:00:00 2001 From: The Dod Date: Mon, 31 Mar 2014 19:35:57 +0700 Subject: [PATCH] install.sh now creates appdir.py Thanks to @erkanuksel Also fixed typo in footer's fork url :s --- install.sh | 4 ++++ templates/footer.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fec3e94..8a03467 100755 --- a/install.sh +++ b/install.sh @@ -11,3 +11,7 @@ else < cherrypy.config.example > cherrypy.config echo "created cherrypy.config. Now edit it to taste ;)" fi +if [ ! -f appdir.py ] ; then + echo "# Stupid but effective trick to know where we are:">appdir.py + echo "APPDIR = '$(pwd)'">appdir.py +fi diff --git a/templates/footer.html b/templates/footer.html index 83a53e5..61ef420 100644 --- a/templates/footer.html +++ b/templates/footer.html @@ -1,3 +1,3 @@