Remove date option for issue #8.

This commit is contained in:
Miao Jiang 2012-11-24 13:45:33 +08:00
parent c2708fa8a5
commit 844c70636b
3 changed files with 3 additions and 2 deletions

View file

@ -28,6 +28,7 @@ Quick Start
* run the example/test.js
node examples/test.js
Usage
-----

View file

@ -1,6 +1,6 @@
{
"name": "node-curl",
"version": "0.1.4",
"version": "0.1.4.1",
"author" : "Jiang Miao <jiangfriend@gmail.com>",
"description": "node wrapper for multi curl, fully implemented.",
"keywords" : ["node-curl", "curl", "multi-curl", "mcurl"],

View file

@ -8,7 +8,7 @@ generate() {
prefix=$3
echo "generate $root/$name.h"
(
echo "// generated by $0 at $(date -R)"
echo "// generated by $0 at $(date)"
echo "CurlOption $name[] = {"
cat /usr/include/curl/curl.h|perl -ne "/$pattern/i && print \"\t{\\\"\$1\\\", CURL${prefix}_\$1},\n\""
echo '};'