🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1782

Re: chunkPackage??? (workaround)

#1782
From: Kate Smith
Date: Mon, 16 Nov 1992 20:42
40 lines
1313 bytes
In article <3756@richsun.cpg.trs.reuter.com>  
jack@richsun.cpg.trs.reuter.com (Jack Gidding) writes:
> 
> 
> Hello all,
> 
> I am trying to split an Installer package into several chunks using  
> /NextAdmin/Installer.app/chunkPackage. Unfortunately, I continually  
> get the message:
> 
> destPkg: Undefined variable.
> 
> immediately before chunker croaks.  Has anyone encountered this  
> and/or fixed their script?
> 
> Oh, BTW, I am using NeXTSTEP 3.0.
> 
> Thanks
> 
> Jack Gidding
> Reuters
> jack@richsun.cpg.trs.reuter.com

Jack, 
There is a bug in /NextAdmin/Installer.app/chunkPackage which exhibits  
this behaviour when you don't use the -d option, or if the argument to -d  
is ".".

The fix is to change chunkPackage as follows:

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

A workaround is to always use the -d option with an absolute pathname.

I hope this helps you and others,
Kate Smith
NeXT Developer Support
Technical Details
Message-ID: <5883@rosie.NeXT.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!next.com
References: <3756@richsun.cpg.trs.reuter.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!next.com
From: kate_smith@next.com (Kate Smith)
Newsgroups: comp.sys.next.programmer
Subject: Re: chunkPackage??? (workaround)
Message-ID: <5883@rosie.NeXT.COM>
Date: 16 Nov 92 20:42:44 GMT
References: <3756@richsun.cpg.trs.reuter.com>
Sender: news@NeXT.COM
Lines: 41