Mercurial > projects > ldc
changeset 1583:593f99fddd2f
basename => dirname, thanks Hxal
author | Moritz Warning <moritzwarning@web.de> |
---|---|
date | Tue, 22 Sep 2009 20:26:50 +0200 |
parents | d8e558087001 |
children | f4c56ed32238 |
files | bin/ldmd bin/ldmd2 |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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