Permalink
Browse files

rpg-env puts RPGLIB/RUBYARCH dirs on load path too

  • Loading branch information...
1 parent dd6a868 commit dc135dae502791172af358fa72ad851d4daedaad @rtomayko committed Apr 25, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 rpg-env.sh
View
@@ -20,9 +20,9 @@ fi
# Put RUBYLIB on PATH if it isn't there already.
if test -z "$RUBYLIB"
-then RUBYLIB="$RPGLIB"
+then RUBYLIB="$RPGLIB:$RPGLIB/$RUBYARCH"
elif ! echo "$RUBYLIB" | tr ':' '\n' | grep -e "^$RPGLIB$" >/dev/null
-then RUBYLIB="$RPGLIB:$RUBYLIB"
+then RUBYLIB="$RPGLIB:$RPGLIB/$RUBYARCH:$RUBYLIB"
fi
export RUBYLIB PATH

0 comments on commit dc135da

Please sign in to comment.