From 2cbc8b55729ccf17fc7b733f36547f1a6ccf71b7 Mon Sep 17 00:00:00 2001
From: Jeff Mitchell <etherpad@jefferai.org>
Date: Wed, 7 Apr 2010 18:09:43 -0400
Subject: Look for the etherpad.local.properties file in the logical location
 (same directory as the default file) instead of the nonexistent data
 directory. Also update the .gitignore to ignore this file.

---
 .gitignore                | 1 +
 etherpad/bin/run-local.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index d0995e3..850962b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 *~
+etherpad/etc/etherpad.local.properties
 etherpad/src/etherpad/collab/ace/contentcollector.js
 etherpad/src/etherpad/collab/ace/domline.js
 etherpad/src/etherpad/collab/ace/easysync1.js
diff --git a/etherpad/bin/run-local.sh b/etherpad/bin/run-local.sh
index 72b0cc1..67a6d57 100755
--- a/etherpad/bin/run-local.sh
+++ b/etherpad/bin/run-local.sh
@@ -34,7 +34,7 @@ if [ -z "$JAVA" ]; then
 fi
 
 # etherpad properties file
-cfg_file=./data/etherpad.local.properties
+cfg_file=./etc/etherpad.local.properties
 if [ ! -f $cfg_file ]; then
   cfg_file=./etc/etherpad.localdev-default.properties
 fi
-- 
cgit v1.2.3