#471 closed defect (fixed)
compressdoc error with relative path
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | lowest | Milestone: | |
| Component: | BOOK | Version: | ~CVS |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
if compressdoc is invoked from /usr/bin with current directory syntax (i.e. (cd /usr/bin; ./compressdoc) the following error results
./compressdoc: line 328: ./compressdoc: No such file or directory
the script works fine if called with either absolute path or no path given and relying on $PATH to find the script.
Change History (11)
comment:1 by , 23 years ago
comment:2 by , 23 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in version 20040320.0026 of compressdoc script.
comment:3 by , 23 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → reopened |
| Version: | 5.0 → CVS |
got /usr/sbin/compressdoc: line 336: /usr/local/man/man1: is a directory. memory is filled up (512MB). and swap too (1GB..)... tried to laungh with relative or absolute path. same result. I'musing a CVS 30.03.2004 version.
comment:4 by , 22 years ago
| Milestone: | future → 5.1 |
|---|
comment:6 by , 22 years ago
| Milestone: | 5.1 → 6.0 |
|---|
comment:7 by , 22 years ago
| Resolution: | later |
|---|---|
| Status: | closed → reopened |
comment:8 by , 22 years ago
comment #3 may be unrelated I discovered a typo in the development version where the line: "$MY_NAME" ${COMP_METHOD} ${COMP_LVL} ${LN_OPT} ${VERBOSE_OPT}
${FORCE_OPT} "${DIR}/${FILE}" exit 1
is missing a '\' at the end of the first line, should be: "$MY_NAME" ${COMP_METHOD} ${COMP_LVL} ${LN_OPT} ${VERBOSE_OPT} \
${FORCE_OPT} "${DIR}/${FILE}" exit 1
the typo causes an "infinite" recursion loop.
comment:10 by , 22 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |
This is really two bugs. The backslash was fixed in R3471 and the script now demands an absolute path.

Has this been fixed? There is some mention about starting with ./ in the script.