I hereby claim:
- I am erbmicha on github.
- I am erbmicha (https://keybase.io/erbmicha) on keybase.
- I have a public key whose fingerprint is 957A 59C7 8DDD 776F DF8C 2F7E 8FDB 27F3 EA1A 64AA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
group :production do | |
gem "unicorn" | |
end |
I hereby claim:
To claim this, I am signing this object:
# encoding: utf-8 | |
# Copyright 2013-2014, Manfred Stienstra, <[email protected]> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to | |
# deal in the Software without restriction, including without limitation the | |
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |
# sell copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: |
diff --git a/bin/search-cmd b/bin/search-cmd | |
index db4bc74..375ab3d 100755 | |
--- a/bin/search-cmd | |
+++ b/bin/search-cmd | |
@@ -3,7 +3,7 @@ | |
# ex: ts=4 sw=4 et | |
# Pull environment for this install | |
-. "$(cd ${0%/*} && pwd)/../lib/env.sh" | |
+. "$(cd ${0%/*} && pwd)/$(dirname $(readlink $0))/../lib/env.sh" |
diff --git a/bin/riak-debug b/bin/riak-debug | |
index 89c7ab9..ea4bcf6 100755 | |
--- a/bin/riak-debug | |
+++ b/bin/riak-debug | |
@@ -99,9 +99,9 @@ exit | |
### | |
# These paths may be overridden with environment variables. | |
-RUNNER_BASE_DIR=$(cd ${0%/*} && pwd)/.. | |
-riak_base_dir=$(cd ${0%/*} && pwd)/.. |
diff --git a/bin/riak-admin b/bin/riak-admin | |
index 4235002..d18a234 100755 | |
--- a/bin/riak-admin | |
+++ b/bin/riak-admin | |
@@ -3,7 +3,7 @@ | |
# ex: ts=4 sw=4 et | |
# Pull environment for this install | |
-. "$(cd ${0%/*} && pwd)/../lib/env.sh" | |
+. "$(cd ${0%/*} && pwd)/$(dirname $(readlink $0))/../lib/env.sh" |
diff --git a/lib/env.sh b/lib/env.sh | |
index 17d6ee0..35cfe12 100755 | |
--- a/lib/env.sh | |
+++ b/lib/env.sh | |
@@ -15,10 +15,16 @@ if [ `uname -s` = 'SunOS' -a "${POSIX_SHELL}" != "true" ]; then | |
fi | |
unset POSIX_SHELL # clear it so if we invoke other scripts, they run as ksh as well | |
-RUNNER_SCRIPT_DIR=$(cd ${0%/*} && pwd) | |
+if [ -L $0 ]; then |
diff --git a/bin/riak b/bin/riak | |
index 2936025..54f801b 100755 | |
--- a/bin/riak | |
+++ b/bin/riak | |
@@ -4,12 +4,19 @@ | |
# installed by node_package (github.com/basho/node_package) | |
-# Pull environment for this install | |
-. "$(cd ${0%/*} && pwd)/../lib/env.sh" |