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

  1. #!/bin/csh
  2. echo Lipo-ing the HPPA 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.hppa
  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 HPPA was not previously installed.
  12. cp -pr ${2}/WriteUp ${2}/WriteUp.thin
  13. # This covers the situation where the old HP version is being replaced.
  14. lipo ${2}/WriteUp -remove hppa -output ${2}/WriteUp.thin
  15. lipo -create ${2}/WriteUp.hppa ${2}/WriteUp.thin -output ${2}/WriteUp
  16. echo Final WriteUp Info...
  17. lipo -info ${2}/WriteUp
  18. echo removing WriteUp.thin and WriteUp.hppa
  19. rm ${2}/WriteUp.thin ${2}/WriteUp.hppa