diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-04-25 21:37:49 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-04-25 21:37:49 +0000 |
commit | 657ecf14acc58a6d345341a5e36411bde5be9cd9 (patch) | |
tree | 4f5a53feb9c26991d822e2e606de511f57e32be6 /install-win32/dosname.pl | |
parent | Forgot to add changelog item about OpenVPN GUI being (diff) | |
download | openvpn-657ecf14acc58a6d345341a5e36411bde5be9cd9.tar.xz |
TAP driver now passes signing tests on Vista x64.
Added new settings to settings.in to better control
build process.
Removed some unneeded JYFIXMEs from source code.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1874 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/dosname.pl')
-rw-r--r-- | install-win32/dosname.pl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/install-win32/dosname.pl b/install-win32/dosname.pl index c29d134..5bfa6b9 100644 --- a/install-win32/dosname.pl +++ b/install-win32/dosname.pl @@ -1,4 +1,7 @@ -($unixname) = @ARGV; -$unixname =~ s#^/c##g; -$unixname =~ s#/#\\#g; -print "$unixname\n"; +#!/usr/bin/perl + +while ($unixname = shift(@ARGV)) { + $unixname =~ s#^/([a-zA-Z])(/|$)#$1:\\#g; + $unixname =~ s#/#\\#g; + print "$unixname\n"; +} |