Akim Demaille <[EMAIL PROTECTED]> writes:
>
> ln -s $ac_rel_source $ac_dest 2>/dev/null ||
> ln $srcdir/$ac_source $ac_dest ||
>
> ln -s is very different from ln and cp wrt its arguments.
>
> Jim had once to teach me this because I meant to do a patch similar to
> yours :)
>
> If you want the same code, basically you need to first cd in the dest
> rep.
Hm, sorry, s/rep/dir/.
This should demonstrate what I mean:
/tmp % mkdir tim nostromo 21:28
/tmp % cd tim nostromo 21:28
/tmp/tim % mkdir srcdir builddir nostromo 21:28
/tmp/tim % echo srcdirdata>srcdir/data nostromo 21:28
/tmp/tim % ln -s srcdir/data builddir nostromo 21:29
/tmp/tim % cat builddir/data nostromo 21:29
cat: builddir/data: Aucun fichier ou répertoire de ce type
/tmp/tim % ls -l builddir/data nostromo Err 1
lrwxrwxrwx 1 akim lrde 11 fév 25 21:29 builddir/data -> srcdir/data
/tmp/tim % rm builddir/data nostromo 21:29
/tmp/tim % ln srcdir/data builddir nostromo 21:30
/tmp/tim % cat builddir/data nostromo 21:30
srcdirdata