home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Lighthouse Design Suite
/
LIGHTHOUSE.mdf
/
WriteUp_1.2
/
Packages
/
WriteUpSPARC.pkg
/
WriteUpSPARC.post_install
< prev
next >
Wrap
Text File
|
1995-04-25
|
801b
|
19 lines
#!/bin/csh
echo Lipo-ing the SPARC executable into the main WriteUp executable
echo $2
echo Current WriteUp Info...
lipo -info ${2}/WriteUp
echo Current WriteUp Info...
lipo -info ${2}/WriteUp.sparc
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 SPARC was not previously installed.
cp -pr ${2}/WriteUp ${2}/WriteUp.thin
# This covers the situation where the old SPARC version is being replaced.
lipo ${2}/WriteUp -remove sparc -output ${2}/WriteUp.thin
lipo -create ${2}/WriteUp.sparc ${2}/WriteUp.thin -output ${2}/WriteUp
echo Final WriteUp Info...
lipo -info ${2}/WriteUp
echo removing WriteUp.thin and WriteUp.sparc
rm ${2}/WriteUp.thin ${2}/WriteUp.sparc