From fd776b6cbaf54ac322ec1fb0b539330b4174cff5 Mon Sep 17 00:00:00 2001 From: Renato Silva Date: Thu, 4 Dec 2014 09:51:59 -0200 Subject: [PATCH] Improve search path in Bash front end. * The directory of the script has been added back to search path. * This directory and the ruby subdirectory now have priority over /usr/lib/ruby/vendor_ruby. --- easyoptions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easyoptions b/easyoptions index c7c9f9a..5d646af 100644 --- a/easyoptions +++ b/easyoptions @@ -1,7 +1,7 @@ #!/bin/bash ## -## EasyOptions Bash Front End 2014.12.2 +## EasyOptions Bash Front End 2014.12.4 ## Copyright (c) 2014 Renato Silva ## GNU GPLv2 licensed ## @@ -24,4 +24,4 @@ ## script_dir=$(dirname "$BASH_SOURCE") -eval "$(PATH="$PATH:/usr/lib/ruby/vendor_ruby:${script_dir}/ruby" from="$0" easyoptions.rb "$@" || echo exit 1)" +eval "$(PATH="$PATH:${script_dir}:${script_dir}/ruby:/usr/lib/ruby/vendor_ruby" from="$0" easyoptions.rb "$@" || echo exit 1)"