home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-09-11 | 1.1 KB | 55 lines | [TEXT/MPS ] |
- # Install MPW C++ from diskettes. If you're installing from a file server
- # just use
- #
- # Backup -from "{WhereCPlusPlusFilesAre}" -to "{MPW}" -r -a -c
- #
- # or whatever.
- #
-
- # Do this in case there is something in drive 1
- Set exit 0
- Eject 1
- Set exit 1
-
- Set Temp "{MPW}"CPlusInstallTemp
-
-
- # Get stuff from disks
- For Disk In 'MPW C++ Disk1:' 'MPW C++ Disk2:'
-
- Confirm "Please insert {Disk} and click when ready."
-
- Set exit 0
-
- Backup -from "{Disk}" -to "{MPW}" -r -a -c > "{Temp}"
-
- If {Status} == 3
- Set exit 1
- Echo "Warning: no files copied from {Disk}"
- Else If {Status} == 0
- Set exit 1
- "{Temp}"
- Else
- Exit {Status}
- End
-
- Eject "{Disk}"
-
- End
-
-
- # Clean up
- Delete -y "{Temp}"
-
- Echo '# If you are not already using MPW 3.2b1 (or later), you will need'
- Echo '# to use the 3.2b1 C compiler if you want C++ load/dump to work'
- Echo '# properly. In order to install it, execute the following commands:'
-
- Echo
- Echo ' NewFolder "{MPW}Tools:OldCCompiler:"'
- Echo ' Move "{MPW}"Tools:C "{MPW}"Tools:OldCCompiler:'
- Echo ' Move "{MPW}"Tools:C3.2b1:C "{MPW}"Tools:'
- Echo
-
- Echo "Done."
-