aboutsummaryrefslogtreecommitdiffstats
path: root/script/compact-xapian-database
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-12-03 10:56:37 +0000
committerMark Longair <mhl@pobox.com>2013-12-03 10:56:37 +0000
commit9e6810d0b86097e616192cf98554fc8ec664392a (patch)
treeae1c07545539e2ac35952636b72327d9bb3b7f0b /script/compact-xapian-database
parentb6f2d93f8daaffdc80cf656d7bfe4fbf933fb9eb (diff)
parent2720064fc7978b922e373a5fc69029eaff8efc6d (diff)
Merge branch 'move-plugins-out-of-vendor-plugins' into rails-3-develop
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