mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-25 14:50:24 +08:00
*** empty log message ***
This commit is contained in:
parent
69a4a25b44
commit
cfe5453c19
@ -8,13 +8,14 @@ defaultIFS='
|
||||
IFS="${IFS-${defaultIFS}}"
|
||||
|
||||
for file in ${1+"$@"} ; do
|
||||
oIFS="${IFS}"; IFS='/'; set - ${file}; IFS="${oIFS}"
|
||||
oIFS="${IFS}"
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set - `echo ${file} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
IFS="${oIFS}"
|
||||
test ".${1}" = "." && shift
|
||||
|
||||
case "${file}" in
|
||||
/* ) pathcomp='/' ;;
|
||||
* ) pathcomp='' ;;
|
||||
esac
|
||||
pathcomp=''
|
||||
|
||||
while test $# -ne 0 ; do
|
||||
pathcomp="${pathcomp}${1}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user