aboutsummaryrefslogtreecommitdiff
path: root/install-win32/dosname.pl
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-06 09:40:31 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2007-03-06 09:40:31 +0000
commitaf897cabdcff349bcec55744db4e3208cbcddcf6 (patch)
tree04c2d24122fbc84b2eca4ad56873773af6927f17 /install-win32/dosname.pl
parentAdded service configuration to install-win32/winconfig (diff)
downloadopenvpn-af897cabdcff349bcec55744db4e3208cbcddcf6.tar.xz
Added maketap and signtap scripts.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1759 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'install-win32/dosname.pl')
-rw-r--r--install-win32/dosname.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/install-win32/dosname.pl b/install-win32/dosname.pl
new file mode 100644
index 0000000..c29d134
--- /dev/null
+++ b/install-win32/dosname.pl
@@ -0,0 +1,4 @@
+($unixname) = @ARGV;
+$unixname =~ s#^/c##g;
+$unixname =~ s#/#\\#g;
+print "$unixname\n";