home *** CD-ROM | disk | FTP | other *** search
- #! /bin/csh
- #
- # Copyright (C) 1991 Texas Instruments Incorporated.
- #
- # Permission is granted to any individual or institution to use, copy, modify,
- # and distribute this software, provided that this complete copyright and
- # permission notice is maintained, intact, in all copies and supporting
- # documentation.
- #
- # Texas Instruments Incorporated provides this software "as is" without
- # express or implied warranty.
- #
- # Create an OS2 command file which will create the COOL directory structure
- # The PC FTP doesn't create directories, so this is required to create the
- # directories before the COOL files can be FTP'ed over.
- #
- # Usage: cd ice; util/os2dirs;
- #
- echo "Creating os2 command file, util/os2dirs.cmd, to create ice and cool directories"
- if $1 == "" set DIRS = "cpp cool pisces"
- echo "REM Create all the COOL directories" > util/os2dirs.cmd
- echo "@echo off" >> util/os2dirs.cmd
- echo "mkdir \ice" >> util/os2dirs.cmd
- echo "cd \ice" >> util/os2dirs.cmd
- echo "mkdir bin" >> util/os2dirs.cmd
- echo "mkdir ccc" >> util/os2dirs.cmd
- echo "mkdir ice_defs" >> util/os2dirs.cmd
- echo "mkdir include" >> util/os2dirs.cmd
- echo "mkdir include\cool" >> util/os2dirs.cmd
- echo "mkdir lib" >> util/os2dirs.cmd
- echo "mkdir lib\os2" >> util/os2dirs.cmd
- echo "mkdir test" >> util/os2dirs.cmd
- echo "mkdir util" >> util/os2dirs.cmd
- foreach DIR ($DIRS)
- find $DIR -type d -print | egrep -v 'RCS' | \
- sed -e s'@/@\\@'g -e s'/^/mkdir /' >> util/os2dirs.cmd
- end
-