forked from zerotao/libevhtp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
2,790 additions
and
4,400 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
#!/bin/bash | ||
# This shouldn't be used by anyone but me...kthx | ||
|
||
rm -rf http_parser/ | ||
rm -rf libhtparse/ | ||
rm -rf evthr/ | ||
rm -rf oniguruma/ | ||
|
||
rm -rf build/http-parser-latest* | ||
rm -rf build/libhtparse-latest* | ||
rm -rf build/libevthr-latest* | ||
rm -rf build/oniguruma-latest* | ||
|
||
cd build && wget http://ackers.net/packages/http-parser-latest.tar http://ackers.net/packages/libevthr-latest.tar http://ackers.net/packages/oniguruma-latest.tar | ||
cd build && wget http://ackers.net/packages/libhtparse-latest.tar http://ackers.net/packages/libevthr-latest.tar http://ackers.net/packages/oniguruma-latest.tar | ||
cd .. | ||
|
||
httparser_dirname=`tar --to-stdout -tf build/http-parser-latest.tar 2>&1 | head -n 1` | ||
httparser_dirname=`tar --to-stdout -tf build/libhtparse-latest.tar 2>&1 | head -n 1` | ||
libevthr_dirname=`tar --to-stdout -tf build/libevthr-latest.tar 2>&1 | head -n 1` | ||
oniguruma_dirname=`tar --to-stdout -tf build/oniguruma-latest.tar 2>&1 | head -n 1` | ||
|
||
tar -xf build/http-parser-latest.tar | ||
tar -xf build/libhtparse-latest.tar | ||
tar -xf build/libevthr-latest.tar | ||
tar -xf build/oniguruma-latest.tar | ||
|
||
mv $httparser_dirname http_parser | ||
mv $httparser_dirname libhtparse | ||
mv $libevthr_dirname evthr | ||
mv $oniguruma_dirname oniguruma | ||
|
||
rm -rf build/http-parser-latest* | ||
rm -rf build/libhtparse-latest* | ||
rm -rf build/libevthr-latest* | ||
rm -rf build/oniguruma-latest* |
Oops, something went wrong.