]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Rename generated tapdrvr.cod to a unique name to avoid the issue where
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 22 Jun 2009 00:44:02 +0000 (00:44 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Mon, 22 Jun 2009 00:44:02 +0000 (00:44 +0000)
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

install-win32/maketap

index 94ee4d50a4696216b6b5f5d87419c56a6d78a655..0d3332979086e1ea1155cf996b0c081c4ebec7fe 100644 (file)
@@ -40,6 +40,7 @@ if [ -z "$DRVBINSRC" ] ; then
     for mode in "$w2ktarget" "$amdtarget"; 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"
+       mv tap-win32/tapdrvr.cod "tap-win32/tapdrvr-$(echo $mode | tr ' ' '-').cod"
     done
 
     title openvpn-build &>/dev/null