Skip to content

Commit

Permalink
include $defdir in library search path to ensure use of target's rbco…
Browse files Browse the repository at this point in the history
…nfig.rb
  • Loading branch information
brentr committed Sep 3, 2014
1 parent b097a58 commit 4b81f94
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions buildUtils
Expand Up @@ -6,8 +6,12 @@
# RUBYLIB=~/armHost/usr/local/lib/ruby/1.6/arm-linux buildUtils clean install

toolDirs='mbarilib termios'
defdir=$PWD
: ${RUBY:="$defdir/miniruby -I$defdir/lib"}
defdir=`dirname $0`
case $defdir in
/*) ;;
*) defdir=$PWD/$defdir ;;
esac
: ${RUBY:="$defdir/miniruby -I$defdir -I$defdir/lib"}
for d in $toolDirs; do
echo "Making $d:"
cd $d
Expand Down

0 comments on commit 4b81f94

Please sign in to comment.