aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--README.md2
-rwxr-xr-xscript/handle-mail-replies2
-rwxr-xr-xscript/mailin2
4 files changed, 5 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 0abd538a5..e259e4508 100644
--- a/Gemfile
+++ b/Gemfile
@@ -21,6 +21,7 @@ gem 'mahoro', '~> 0.4'
gem 'memcache-client', '~> 1.8.5'
gem 'net-http-local', '~> 0.1.2', :platforms => [:ruby_18, :ruby_19]
gem 'net-purge', '~> 0.1.0'
+gem 'nokogiri', '~> 1.5.9'
gem 'open4', '~> 1.3.4'
gem 'rack', '~> 1.4.6'
gem 'rack-utf8_sanitizer', '~> 1.3.0', :platforms => :ruby_19
@@ -67,7 +68,6 @@ group :test do
gem 'fakeweb', '~> 1.3.0'
gem 'coveralls', :require => false
gem 'webrat', '~> 0.7.3'
- gem 'nokogiri', '~> 1.5.9'
end
group :test, :development do
diff --git a/README.md b/README.md
index aacd1ddc2..a3cb61a93 100644
--- a/README.md
+++ b/README.md
@@ -68,3 +68,5 @@ We have some more notes for developers [on the project site](http://alaveteli.or
* [KiMitTud](http://kimittud.atlatszo.hu)
* [Informace Pro Všechny](http://www.infoprovsechny.cz)
* [fyi.org.nz](https://fyi.org.nz)
+
+See more at [alaveteli.org](http://alaveteli.org/deployments/).
diff --git a/script/handle-mail-replies b/script/handle-mail-replies
index 15454b311..267ad5632 100755
--- a/script/handle-mail-replies
+++ b/script/handle-mail-replies
@@ -1,4 +1,4 @@
#!/bin/bash
-cd "`dirname "$0"`"
+cd "`dirname "${BASH_SOURCE[0]}"`"
exec bundle exec ./handle-mail-replies.rb "$@"
diff --git a/script/mailin b/script/mailin
index 5f2a9c243..48e236cfe 100755
--- a/script/mailin
+++ b/script/mailin
@@ -8,7 +8,7 @@ OUTPUT=$(mktemp -t foi-mailin-output-XXXXXXXX)
# Read the email message from stdin, and write it to the file $INPUT
cat >"$INPUT"
-cd "$(dirname "$0")"/..
+cd "$(dirname "${BASH_SOURCE[0]}")"/..
source commonlib/shlib/deployfns
read_conf config/general