Browse code

Rename generated tapdrvr.cod to a unique name to avoid the issue where building for multiple architectures causes the previous tapdrvr.cod to be overwritten.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4604 e7ae566f-a301-0410-adde-c780ea21d3b5

james authored on 2009/06/22 09:44:02
Showing 1 changed files
... ...
@@ -40,6 +40,7 @@ if [ -z "$DRVBINSRC" ] ; then
40 40
     for mode in "$w2ktarget" "$amdtarget"; do
41 41
 	echo '**********' build TAP $mode
42 42
 	cmd //c "C:\\WINDDK\\$DDKVER\\bin\\setenv.bat C:\\WINDDK\\$DDKVER $mode && cd `perl install-win32/dosname.pl $t` && build -cef"
43
+	mv tap-win32/tapdrvr.cod "tap-win32/tapdrvr-$(echo $mode | tr ' ' '-').cod"
43 44
     done
44 45
 
45 46
     title openvpn-build &>/dev/null