home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7250 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Path: sparky!uunet!rosie!next.com
  2. From: kate_smith@next.com (Kate Smith)
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: Re: chunkPackage??? (workaround)
  5. Message-ID: <5883@rosie.NeXT.COM>
  6. Date: 16 Nov 92 20:42:44 GMT
  7. References: <3756@richsun.cpg.trs.reuter.com>
  8. Sender: news@NeXT.COM
  9. Lines: 41
  10.  
  11. In article <3756@richsun.cpg.trs.reuter.com>  
  12. jack@richsun.cpg.trs.reuter.com (Jack Gidding) writes:
  13. > Hello all,
  14. > I am trying to split an Installer package into several chunks using  
  15. > /NextAdmin/Installer.app/chunkPackage. Unfortunately, I continually  
  16. > get the message:
  17. > destPkg: Undefined variable.
  18. > immediately before chunker croaks.  Has anyone encountered this  
  19. > and/or fixed their script?
  20. > Oh, BTW, I am using NeXTSTEP 3.0.
  21. > Thanks
  22. > Jack Gidding
  23. > Reuters
  24. > jack@richsun.cpg.trs.reuter.com
  25.  
  26. Jack, 
  27. There is a bug in /NextAdmin/Installer.app/chunkPackage which exhibits  
  28. this behaviour when you don't use the -d option, or if the argument to -d  
  29. is ".".
  30.  
  31. The fix is to change chunkPackage as follows:
  32.  
  33. 117c117
  34. <     set destDir = .                # OLD
  35. ---
  36. >     set destDir = `/bin/pwd`        # NEW
  37.  
  38. A workaround is to always use the -d option with an absolute pathname.
  39.  
  40. I hope this helps you and others,
  41. Kate Smith
  42. NeXT Developer Support
  43.  
  44.