Created
December 26, 2009 08:56
-
-
Save tomohiro/263886 to your computer and use it in GitHub Desktop.
公式の Markdown.pl をダウンロードしてパッチを当てるスクリプト
This file contains hidden or 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
#!/bin/sh | |
MARKDOWN_SRC='Markdown_1.0.1' | |
UNZIP=`which unzip` | |
WGET=`which wget` | |
PATCH=`which patch` | |
$WGET "http://daringfireball.net/projects/downloads/$MARKDOWN_SRC.zip" | |
$UNZIP "$MARKDOWN_SRC.zip" | |
cd $MARKDOWN_SRC | |
$WGET "http://www.sera.desuyo.net/komono/Markdown_1.0.2b8-extra.patch" | |
$PATCH -p0 < Markdown_1.0.2b8-extra.patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment