Skip to content
This repository has been archived by the owner on May 2, 2021. It is now read-only.

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Aug 31, 2013
1 parent 8c58a4d commit eabfbbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/logstash
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export RUBYLIB="$basedir/lib"
# help logstash run.
setup() {
if [ -d "$basedir/.git" ] ; then
if [ $1 = "jruby" ] ; then
if [ "$1" = "jruby" ] ; then
RUBY=${RUBY=jruby}
else
RUBY=${RUBY=$(ruby -e 'puts RUBY_ENGINE')}
Expand All @@ -33,7 +33,7 @@ setup() {
fi
}

if [ $1 = "deps" ] ; then
if [ "$1" = "deps" ] ; then
program="$basedir/gembag.rb"
set -- "$basedir/logstash.gemspec"
else
Expand Down

0 comments on commit eabfbbf

Please sign in to comment.