invoke dirname correctly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@10498 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-09-29 14:00:24 +00:00
parent a0642f6ae0
commit 79b308513c

View File

@ -90,7 +90,7 @@ AC_DEFUN([MSYS_AC_CANONICAL_PATH],
ac_pwd_w="pwd -W" || ac_pwd_w=pwd ac_pwd_w="pwd -W" || ac_pwd_w=pwd
until ac_val=`exec 2>/dev/null; cd "$ac_dir" && $ac_pwd_w` until ac_val=`exec 2>/dev/null; cd "$ac_dir" && $ac_pwd_w`
do do
ac_dir=`dirname(["$ac_dir"])` ac_dir=`dirname "$ac_dir"`
done done
ac_dir=`echo "$ac_dir" | sed 's?^[[./]]*??'` ac_dir=`echo "$ac_dir" | sed 's?^[[./]]*??'`
ac_val=`echo "$ac_val" | sed 's?/*$[]??'` ac_val=`echo "$ac_val" | sed 's?/*$[]??'`