Skip to content

Commit

Permalink
change pwd to top-level install so 'run' works no matter your cwd.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Newson committed Jan 18, 2010
1 parent ce04d74 commit cf19b09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/assembly/dist.xml
Expand Up @@ -40,5 +40,5 @@
<scope>runtime</scope>
<outputDirectory>/lib</outputDirectory>
</dependencySet>
</dependencySets>
</dependencySets>
</assembly>
3 changes: 3 additions & 0 deletions src/main/bin/run
@@ -1,5 +1,8 @@
#!/bin/sh

DIR=`dirname "$0"`
cd $DIR/..

JAVA_OPTS="-server -Xmx1g"
CLASS=com.github.rnewson.couchdb.lucene.Main

Expand Down

0 comments on commit cf19b09

Please sign in to comment.