aboutsummaryrefslogtreecommitdiffstats
path: root/script/compact-xapian-database
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-11-28 16:13:44 +0000
committerMark Longair <mhl@pobox.com>2013-11-29 12:25:41 +0000
commitda7f8535505ac77feb09f51b7751558529dee67e (patch)
tree598a0745ecc9e973aacc16837f70a5d4768523ca /script/compact-xapian-database
parent1f1bae22d4f7fda389bc4f86bbf666c57b93ab83 (diff)
Move acts_as_xapian out of vendor/plugins
This includes making making sure that xapiandbs directory is moved with this version of the code.
Diffstat (limited to 'script/compact-xapian-database')
-rwxr-xr-xscript/compact-xapian-database2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/compact-xapian-database b/script/compact-xapian-database
index f1a6058b0..982c0e878 100755
--- a/script/compact-xapian-database
+++ b/script/compact-xapian-database
@@ -4,7 +4,7 @@ export RAILS_ENV=$1
set -e
if [ -x /usr/bin/xapian-compact ]; then
- XAPIAN_DB_DIR=$( cd "$( dirname "$0" )" && pwd )/../vendor/plugins/acts_as_xapian/xapiandbs
+ XAPIAN_DB_DIR=$( cd "$( dirname "$0" )" && pwd )/../lib/acts_as_xapian/xapiandbs
if [ -e "$XAPIAN_DB_DIR/$RAILS_ENV.new" ]; then
echo >&2 "Didn't compact Xapian database because there was an existing database at $XAPIAN_DB_DIR/$RAILS_ENV.new"
exit 1