🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
2 messages
2 total messages Started by Kurt A. Geisel Fri, 09 Oct 1992 15:55
chunkPackage Script Bug in 3.0
#1371
Author: Kurt A. Geisel
Date: Fri, 09 Oct 1992 15:55
18 lines
1340 bytes
When I run the chunkPackage script under 3.0, the shell barfs with
the message that "destDir" is an undefined variable.  Well, I did a
diff between the 3.0 chunkPackage and the 2.0 chunkPackage and found
that someone, for some reason, has superficially rewritten the entire
script.  I can't for the life of me see any functional difference or
any reason why destDir wouldn't get defined, whether or not the -d
option is provided (I tried both).

So, what am I missing?

- Kurt
Kurt A. Geisel                        SNAIL : 65 Lambeth Dr.
Vertex Software                               Pittsburgh, PA 15241
ARPA  : kg19+@andrew.cmu.edu	      UUCP  : uunet!nfsun!kgeisel
ARPA2 : kgeisel%nfsun@uunet.uu.net    BIX   : kgeisel
GENIE : K.GEISEL                      AIR   : N3JTW
"I will not be pushed, filed, indexed, stamped, briefed, debriefed, or
numbered!" - The Prisoner
Re: chunkPackage Script Bug in 3.0
#1447
Author: Doug Wiebe
Date: Mon, 12 Oct 1992 22:53
20 lines
882 bytes
Kurt A. Geisel writes:
> When I run the chunkPackage script under 3.0, the shell barfs with
> the message that "destDir" is an undefined variable.

This bug occurs when the -d switch is not passed to chunkPackage or when  
"-d ." is passed. A workaround is to use the -d switch with an absolute  
pathname.

Here are diffs for a fix:

117c117
<     set destDir = .                   # OLD
---
>     set destDir = `/bin/pwd`          # NEW

Hope that helps.

Doug Wiebe
Software Engineering
NeXT Computer, Inc.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads