From 21011a9caf90162b6763b63372ca24ba70536f45 Mon Sep 17 00:00:00 2001 From: David Hilvert Date: Sat, 25 Aug 2007 18:07:00 +0000 Subject: [PATCH] ale: Make default the ale binary having the same dirname. darcs-hash:20070825180710-d1b56-0290df32980fc9a188497aa7f9f7a998e5c30d7c.gz --- ale | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ale b/ale index 853df23..dc98514 100755 --- a/ale +++ b/ale @@ -17,8 +17,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +chomp ($ale_exec_dir = `dirname $0`); + %defaults = ( - "ALE_BIN" => "ale-bin", + "ALE_BIN" => "$ale_exec_dir/ale-bin", "DCRAW" => "dcraw", "EXIF_UTILITY" => "exiftool", ); -- 2.11.4.GIT