Line | |
---|
1 | #!/bin/sh
|
---|
2 | # $Id: cygwin.sh 172 2024-09-26 20:45:59Z nishi $
|
---|
3 | rm -rf tewidist
|
---|
4 | make PREFIX=/cygdrive/c/Tewi DESTDIR=tewidist PLATFORM=cygwin install
|
---|
5 | cp -rfv tewidist/cygdrive/c/Tewi tewidist/Tewi
|
---|
6 | cp /usr/bin/cygwin1.dll tewidist/Tewi/bin/
|
---|
7 | rm -rf tewidist/cygdrive
|
---|
8 | echo "@echo off" > tewidist/install.bat
|
---|
9 | echo "echo This installer will attempt to overwrite files." >> tewidist/install.bat
|
---|
10 | echo "echo Make sure you make backups." >> tewidist/install.bat
|
---|
11 | echo "pause" >> tewidist/install.bat
|
---|
12 | echo "xcopy /e Tewi C:\\Tewi" >> tewidist/install.bat
|
---|
13 | echo "echo Tewi HTTPd has been installed." >> tewidist/install.bat
|
---|
14 | echo "pause" >> tewidist/install.bat
|
---|
15 | echo "exit" >> tewidist/install.bat
|
---|
16 | unix2dos tewidist/install.bat
|
---|
17 | rm -f tewidist.zip
|
---|
18 | zip -rv tewidist.zip tewidist
|
---|
19 | rm -rf tewidist
|
---|
Note:
See
TracBrowser
for help on using the repository browser.