projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3bebbf6
)
Fix the symlink problems.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 24 Feb 2007 20:03:10 +0000 (20:03 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 24 Feb 2007 20:03:10 +0000 (20:03 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2504
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
m4/ensc_pathprog.m4
patch
|
blob
|
history
diff --git
a/m4/ensc_pathprog.m4
b/m4/ensc_pathprog.m4
index
cd79aad
..
fc8521d
100644
(file)
--- a/
m4/ensc_pathprog.m4
+++ b/
m4/ensc_pathprog.m4
@@
-59,6
+59,10
@@
$4])
fi
fi
+ if test -e "${$1}"; then
+ $1=`readlink -f "${$1}"`
+ fi
+
test "${$1}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'$1'@!${$1}!g;"
test "${$1}"])
@@
-75,10
+79,7
@@
AC_DEFUN([ENSC_PATHPROG_STANDARD_TOOLS],
ENSC_PATHPROG(CP, cp)
ENSC_PATHPROG(DIRNAME, dirname)
ENSC_PATHPROG(EGREP, egrep)
- env_old_searchpath="${ensc_searchpath}"
- ensc_searchpath="/bin:${ensc_searchpath:-$PATH}"
ENSC_PATHPROG(ENV, env)
- ensc_searchpath="${env_old_searchpath}"
ENSC_PATHPROG(GREP, grep)
ENSC_PATHPROG(LN, ln)
ENSC_PATHPROG(MKDIR, mkdir)