#!/usr/bin/csh
# Unzip a distribution of wxWindows.
# I use this to transfer files from PC to Sun by floppy. (Network? What's that?!)
set init=
if ( $1 == "" ) then
goto usage
endif

if ( $2 == "" ) then
goto usage
endif

echo About to unzip wxWindows distribution:
echo   From   $1/wx150asc.zip, $1/wx150bin.zip
echo   To     $2
echo CTRL-C if this is not correct.
set dummy=$<

cd $2

echo Unzipping...
unzip -d -a -o $1/wx150asc.zip
unzip -d -o $1/wx150bin.zip

mv $2/distrib/wxtime $2/distrib/wxtime.bak
touch $2/distrib/wxtime

echo wxWindows unarchived.
goto end

usage:
echo DOS wxWindows distribution copying from floppy.
echo Usage: unzipwx source destination
echo e.g. unzipwx /pcfs ~/wx

end:
