Installer: Early check whether the installation directory is writable
[msysgit.git] / bin / ld2
blobd80041dd9b21c28555b5f78a6d025405217a6a84
1 #!/bin/sh
3 # ld wrapper for building dynamic lib version of perl;
4 # passes all args to perlld
7 # own miniperl is first candidate 'cause it doesn not lock libperl.dll
8 for trythis in /src/perl/perl-5.8.8/miniperl /src/perl/perl-5.8.8/perl perl
9 do
10 if [ -x $trythis ]
11 then
12 $trythis /src/perl/perl-5.8.8/perlld "$@"
13 exit $?
15 done
16 # hard luck!
17 echo i see no perl executable around there
18 echo perl is required to build dynamic libraries
19 echo go fetch one or build this one static
20 exit 1