aboutsummaryrefslogblamecommitdiff
path: root/install-win32/maketap
blob: b9c40703344a844c21d1c593250d6623fab41984 (plain) (tree)
1
2
3
4
5
6
7

         
                                                
 
                             
                  
 





                                                          
        
    
                                          
  
#!/bin/sh

# Get the x86 and x64 versions of the TAP driver

# get version.nsi definitions
. autodefs/defs.sh

if [ -d "$TAPBINSRC" ]; then
    mkdir -p $GENOUT/driver/i386 &>/dev/null
    mkdir -p $GENOUT/driver/amd64 &>/dev/null
    for arch in i386 amd64; do
	s=$TAPBINSRC/$arch
	cp $s/*.sys $s/*.cat $s/*.inf $GENOUT/driver/$arch
    done
else
    echo Cannot find pre-built tap drivers
fi