Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 11:07:48 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/35678: docproj Makefiles for web are broken for paths with spaces
Message-ID:  <200203081607.g28G7m572647@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

>Number:         35678
>Category:       docs
>Synopsis:       docproj Makefiles for web are broken for paths with spaces
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 08 08:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Robert Watson
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
NAI Labs, FreeBSD Project
>Environment:
System: FreeBSD sproing.gw.tislabs.com 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Tue Jan 15 11:18:08 EST 2002     rwatson@sproing.gw.tislabs.com:/usr/obj/usr/src/sys/SPROING  i386

docproj-1.9         The "meta-port" for the FreeBSD Documentation Project

>Description:

When building a web page using sgml, if any segment of the file system path
for the working directory contains a space or other irregular character,
things get broken.

>How-To-Repeat:

  sproing:~/Operating Systems/FreeBSD/commit/www/en/smp> make
  /usr/bin/sed -e 's/<!ENTITY date[ \t]*"$Free[B]SD. .* \(.* .*\) .* .* $">/<!ENTITY date "Last modified: \1">/'  index.sgml |  /usr/bin/env SGML_CATALOG_FILES=  /usr/local/bin/sgmlnorm -d  -c /usr/local/share/sgml/html/catalog -D /home/rwatson/Operating Systems/FreeBSD/commit/www/en/smp > index.html ||  (/bin/rm -f index.html && false)
  /usr/local/bin/sgmlnorm:E: cannot find "Systems/FreeBSD/commit/www/en/smp"; tried "Systems/FreeBSD/commit/www/en/smp", "/home/rwatson/Operating/Systems/FreeBSD/commit/www/en/smp"
  *** Error code 1

  Stop in /home/rwatson/Operating Systems/FreeBSD/commit/www/en/smp.

Note that it used "Systems/FreeBSD...." indicating that a command line
broke the path into two seperate strings.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203081607.g28G7m572647>