bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtoolize func_copy_all_from_path: broken


From: Akim Demaille
Subject: libtoolize func_copy_all_from_path: broken
Date: Fri, 17 Dec 2004 12:04:22 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

| func_copy_all_from_path ()
| {
|     if test "X$1" = X-r; then
|       my_args=-r
|       shift
|     fi
| 
|     my_dirname="$1"
|     my_srcpath="$2"
|     my_destdir="$3"
|     my_globexc="$4"
| 
|     save_IFS="$IFS"; IFS=:
|     for myvdir in $my_srcpath; do
|       IFS="$save_IFS"
|       test "X$my_dirname" = X. || myvdir="$myvdir/$my_dirname"
|       if test -d "$myvdir"; then
|         eval func_copy_all_files $my_args "$myvdir" "$my_destdir" 
"$my_globexc"

This eval is wrong.  Since $my_globexc contains |, the shell tries to
use the glob patterns as commands of a pipe.

|         break
|       fi
|     done
|     IFS="$save_IFS"
| }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]