# HG changeset patch # User Moritz Warning # Date 1253644010 -7200 # Node ID 593f99fddd2f7a466f895076757622061abeb2f0 # Parent d8e55808700166e7164d1362e55ef86223089c94 basename => dirname, thanks Hxal diff -r d8e558087001 -r 593f99fddd2f bin/ldmd --- a/bin/ldmd Sat Sep 19 13:05:10 2009 +0100 +++ b/bin/ldmd Tue Sep 22 20:26:50 2009 +0200 @@ -1,7 +1,7 @@ #! /usr/bin/env bash # Default to 'ldc' next to this file -LDC=`basename "$0"`/ldc +LDC=`dirname "$0"`/ldc if [ ! -x "$LDC" ]; then # If that doesn't work, assume this script was called via $PATH # and do the same for ldc diff -r d8e558087001 -r 593f99fddd2f bin/ldmd2 --- a/bin/ldmd2 Sat Sep 19 13:05:10 2009 +0100 +++ b/bin/ldmd2 Tue Sep 22 20:26:50 2009 +0200 @@ -1,7 +1,7 @@ #! /usr/bin/env bash # Default to 'ldc' next to this file -LDC=`basename "$0"`/ldc2 +LDC=`dirname "$0"`/ldc2 if [ ! -x "$LDC" ]; then # If that doesn't work, assume this script was called via $PATH # and do the same for ldc