com web/doc: Fix symlinking on Windows cmd: tutorial/local-setup.md

From: Date: Thu, 10 Dec 2020 16:30:50 +0000
Subject: com web/doc: Fix symlinking on Windows cmd: tutorial/local-setup.md
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2461@lists.php.net to get a copy of this message
Commit: 71278a35b81ffe074c95ab625a14e4f01a76d0ea Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 10 Dec 2020 17:30:50 +0100 Parents: aa24ddb51f9ed3824ef1d2643d9f5072356a2a62 Branches: master Link: http://git.php.net/?p=web/doc.git;a=commitdiff;h=71278a35b81ffe074c95ab625a14e4f01a76d0ea Log: Fix symlinking on Windows cmd /j creates a junction point what is more like a hardlink. Also, on Windows the arguments are swapped (link, target). Changed paths: M tutorial/local-setup.md Diff: diff --git a/tutorial/local-setup.md b/tutorial/local-setup.md index 9f20517..5ac9483 100644 --- a/tutorial/local-setup.md +++ b/tutorial/local-setup.md @@ -74,12 +74,12 @@ $ git clone http://git.php.net/repository/web/php.git /home/sites/myphpnet/ $ ln -s /tmp/phd/output/php-web /home/sites/myphpnet/manual/en ``` -Symlinking can still be done on Windows. Just make sure you run cmd *as Administrator*. +Symlinking can also be done on Windows. Just make sure you run cmd *as Administrator*. ``` $ cd \home\sites\myphpnet\manual\ $ rmdir /S en -$ mklink /J \tmp\phd\output\web-php en +$ mklink /D en \tmp\phd\output\web-php ``` ### Run a webserver

« previous php.doc.web (#2461) next »