>
>
> Well, I've never seen one like that. Looks like something on line
> 106 of /mnt/lfs/sources/gcc-build/./gcc/as
>
> I assume that at this point that 'as' file must be a
> script. Perhaps it is trying to exec a variable. Is it a script ?
> If so, what is the hunk which includes line 106 ?
>
>
case "$original" in
../*)
# compute absolute path of the location of this script
tdir=`dirname "$0"`
scriptdir=`cd "$tdir" && pwd`
if test -x $scriptdir/../$dir/$prog; then
test "$fast_install" = yes || exec $scriptdir/../$dir/$prog ${1+"$@"}
# if libtool did everything it needs to do, there's a fast path
lt_prog=$scriptdir/../$dir/$objdir/lt-$prog
test -x $lt_prog && exec $lt_prog ${1+"$@"}
# libtool has not relinked ld-new yet, but we cannot just use the
# previous stage (because then the relinking would just never
happen!).
# So we take extra care to use prev-ld/ld-new *on recursive calls*.
eval LT_RCU="\${LT_RCU_$id}"
test x"$LT_RCU" = x"1" && exec $scriptdir/../prev-$dir/$prog ${1+"$@"}
eval LT_RCU_$id=1
export LT_RCU_$id
$scriptdir/../$dir/$prog ${1+"$@"}
result=$?
exit $result
else
exec $scriptdir/../prev-$dir/$prog ${1+"$@"}
fi
;;
*)
exec $original ${1+"$@"}
;;
(line 109) esac
I do have a question: when I cd into the directory it ignores the '/./'. Is
that normal?
lfs@debian:/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc$ cd
/mnt/lfs/sources/gcc-build/./gcc/
lfs@debian:/mnt/lfs/sources/gcc-build/gcc$ scp as [email protected]:
/home/bmike1/Documents/LFS/7.8/build/5.5logs/mnt-lfs-sources-gcc-build-gcc-as
[email protected]'s password:
as
What does 'cd /./' do?
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style