8 test -z "$URL" && die
"Need URL"
9 test -z "$TARGET" && die
"Need TARGET"
22 if ! test -d $DIR/.git
24 (cd $DIR && git init
&& git add .
&& git commit
-m initial
)
26 if ! test -f $DIR/Makefile
28 (cd $DIR && .
/configure
--prefix=/mingw
)
30 if ! test -x $DIR/$TARGET
34 INDEX
=$
(/share
/msysGit
/pre-install.sh
) &&
35 (cd $DIR && make install) &&
36 /share
/msysGit
/post-install.sh
$INDEX Install
$DIR ||
37 die
"Failed to install $DIR"