Bug 68485 - Guide uses $ECOS_REPOSITORY incorrectly on cygwin
Summary: Guide uses $ECOS_REPOSITORY incorrectly on cygwin
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: eCos
Classification: Retired
Component: RedBoot User's Guide
Version: CVS
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jonathan Larmour
QA Contact: eCos bugs internal list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-07-10 16:22 UTC by Jonathan Larmour
Modified: 2007-04-18 16:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-20 16:16:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonathan Larmour 2002-07-10 16:22:55 UTC
The RedBoot user's guide documents using $ECOS_REPOSITORY, e.g. for importing
like:
ecosconfig import \
${ECOS_REPOSITORY}/hal/${ARCH_DIR}/${PLATFORM_DIR}/${VERSION}/misc/redboot_RAM.ecm

However on cygwin ${ECOS_REPOSITORY} is in fact a windows style, not cygwin
style path, i.e. C:\Program Files\Red Hat......

ecosconfig works with this, but it doesn't work when like above the shell has to
interpret it to point to a real file name as it just becomes a mixture of both
path styles.

So either the RedBoot guide should document this correctly for cygwin, e.g. by
using
ECOS_REPO=`cygpath -u "$ECOS_REPOSITORY"`
ecosconfig import "${ECOS_REPO}"/hal/.....

or develop.bat on cygwin should be modified to use a cygwin path. The
documentation may need to be updated for ecosconfig in that case too so that it
doesn't recommend windows style paths.

Comment 1 Alex Schuilenburg 2003-06-20 16:16:41 UTC
This bug has moved to http://bugs.ecos.sourceware.org/show_bug.cgi?id=68485


Note You need to log in before you can comment on or make changes to this bug.