🚀 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 Jack Gidding Wed, 11 Nov 1992 21:07
chunkPackage???
#1532
Author: Jack Gidding
Date: Wed, 11 Nov 1992 21:07
20 lines
774 bytes

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
Re: chunkPackage??? (workaround)
#1782
Author: 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
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