home *** CD-ROM | disk | FTP | other *** search
/ Lighthouse Design Suite / LIGHTHOUSE.mdf / WriteUp_1.2 / Packages / WriteUpSPARC.pkg / WriteUpSPARC.post_install < prev    next >
Text File  |  1995-04-25  |  801b  |  19 lines

  1. #!/bin/csh
  2. echo Lipo-ing the SPARC executable into the main WriteUp executable
  3. echo $2
  4. echo Current WriteUp Info...
  5. lipo -info ${2}/WriteUp
  6. echo Current WriteUp Info...
  7. lipo -info ${2}/WriteUp.sparc
  8. echo Lipo-ing WriteUp...
  9. # One of the following two lines will work in any given circumstance.
  10. # Either way, we end up with a good WriteUp.thin file.
  11. # This line covers the situation where SPARC was not previously installed.
  12. cp -pr ${2}/WriteUp ${2}/WriteUp.thin
  13. # This covers the situation where the old SPARC version is being replaced.
  14. lipo ${2}/WriteUp -remove sparc -output ${2}/WriteUp.thin
  15. lipo -create ${2}/WriteUp.sparc ${2}/WriteUp.thin -output ${2}/WriteUp
  16. echo Final WriteUp Info...
  17. lipo -info ${2}/WriteUp
  18. echo removing WriteUp.thin and WriteUp.sparc
  19. rm ${2}/WriteUp.thin ${2}/WriteUp.sparc