Hello,
In Chapter 12, Item Guile 1.8.7 under the line "Now, as the root
user:" we are given the following code block.
BEGIN CODE----------
make install &&
find examples -name "Makefile*" -exec rm {} \; &&
install -v -m755 -d /usr/share/doc/guile-1.8.7 &&
cp -v -R examples /usr/share/doc/guile-1.8.7 &&
for DIRNAME in goops r5rs ref tutorial
do
install -v -m755 -d /usr/share/doc/guile-1.8.7/${DIRNAME} &&
install -v -m644 doc/${DIRNAME}/*.txt \
/usr/share/doc/guile-1.8.7/${DIRNAME} &&
if [ -d doc/${DIRNAME}/${DIRNAME}.html ]; then
cp -v -R doc/${DIRNAME}/${DIRNAME}.html \
/usr/share/doc/guile-1.8.7/${DIRNAME}
fi &&
done &&
install -v -m644 doc/goops/hierarchy.* \
/usr/share/doc/guile-1.8.7/goops &&
cp -v -R doc/ref/guile.html \
/usr/share/doc/guile-1.8.7/ref &&
cp -v -R doc/tutorial/guile-tut.html \
/usr/share/doc/guile-1.8.7/tutorial &&
unset DIRNAME
END CODE----------
Should the "&&" following fi be omitted, such that that portion of the
command becomes:
fi
done &&
I am getting a " syntax error near unexpected token 'done' " using the
current code.
Thank-You For Your Time,
mbw
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page