home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Lighthouse Design Suite
/
LIGHTHOUSE.mdf
/
WriteUp_1.2
/
Packages
/
WriteUpHPPA.pkg
/
WriteUpHPPA.post_install
< prev
next >
Wrap
Text File
|
1995-04-25
|
791b
|
19 lines
#!/bin/csh
echo Lipo-ing the HPPA executable into the main WriteUp executable
echo $2
echo Current WriteUp Info...
lipo -info ${2}/WriteUp
echo Current WriteUp Info...
lipo -info ${2}/WriteUp.hppa
echo Lipo-ing WriteUp...
# One of the following two lines will work in any given circumstance.
# Either way, we end up with a good WriteUp.thin file.
# This line covers the situation where HPPA was not previously installed.
cp -pr ${2}/WriteUp ${2}/WriteUp.thin
# This covers the situation where the old HP version is being replaced.
lipo ${2}/WriteUp -remove hppa -output ${2}/WriteUp.thin
lipo -create ${2}/WriteUp.hppa ${2}/WriteUp.thin -output ${2}/WriteUp
echo Final WriteUp Info...
lipo -info ${2}/WriteUp
echo removing WriteUp.thin and WriteUp.hppa
rm ${2}/WriteUp.thin ${2}/WriteUp.hppa