summaryrefslogtreecommitdiffstats
path: root/install-win32/maketap
diff options
context:
space:
mode:
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