aboutsummaryrefslogtreecommitdiff
path: root/install-win32/maketap
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-07 07:08:49 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-07 07:08:49 +0000
commit0039dd40464ea8544022abb32e220224ab71d6e5 (patch)
treed58e23208cccfbd533be63864442bc86352d34d3 /install-win32/maketap
parentForgot to svn add buildinstaller before last commit. (diff)
downloadopenvpn-0039dd40464ea8544022abb32e220224ab71d6e5.tar.xz
Cleaned up Windows build scripts.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1763 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/maketap')
-rw-r--r--install-win32/maketap16
1 files changed, 9 insertions, 7 deletions
diff --git a/install-win32/maketap b/install-win32/maketap
index 0d72fff..7d811f9 100644
--- a/install-win32/maketap
+++ b/install-win32/maketap
@@ -6,11 +6,13 @@
# get version.nsi definitions
. autodefs/nsidefs.sh
-cd tap-win32
-t=`pwd`
-cd ..
+if [ -z "$DRVBINSRC" ] ; then
+ cd tap-win32
+ t=`pwd`
+ cd ..
-for mode in "fre WNET" "fre AMD64 WNET"; do
- echo '**********' build TAP $mode
- cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef"
-done
+ for mode in "fre WNET" "fre AMD64 WNET"; do
+ echo '**********' build TAP $mode
+ cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef"
+ done
+fi