Opened 14 years ago

Closed 13 years ago

Last modified 10 years ago

#3125 closed defect (fixed)

guile-1.8.7 instructions for copying documentation files gave error

Reported by: Dominic Jones Owned by: Randy McMurchy
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

The shell commands for copying the text documentation for guile-1.8.7 did not work when I attempted them. Per the instructions, I tried:

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/${PACKAGE_NAME}-${PACKAGE_VERSION}/$DIRNAME && install -v -m644 doc/$DIRNAME/*.txt \

/usr/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}/$DIRNAME &&

done && unset DIRNAME

The for command failed with an error message regarding an unexpected token done. I was manually entering the commands; a second, retyped attempt failed with the same error message.

Entering the install commands separately with manual variable substitutions worked.

I did not create the optional alternative documentation.

Change History (5)

comment:1 by Chris Staub, 14 years ago

The error is due to an extraneous && at the end of the loop. This has been fixed in r8447. Thanks for the report.

comment:2 by Randy McMurchy, 13 years ago

Milestone: future6.7

Updated milestone to 6.7

comment:3 by Randy McMurchy, 13 years ago

Owner: changed from blfs-book@… to Randy McMurchy
Status: newassigned

This is a product of my script being somewhat different than the book, and then me cut and pasting instructions from my script without making the appropriate changes. Easy fix. Thanks for noticing!

comment:4 by Randy McMurchy, 13 years ago

Resolution: fixed
Status: assignedclosed

Updated the documentation build and installation instructions. It should work as designed now.

Thanks for reporting the issue!

comment:5 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.