summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Book <grinnz@gmail.com>2018-06-07 19:26:01 -0400
committerGitHub <noreply@github.com>2018-06-07 19:26:01 -0400
commitd93d120c0330f6a9879f4e4a3c64af61a26db918 (patch)
tree90faee6f1feaa359013dfce7254eaa7a6e5658a0
parent0bb7d0366b3c15419eb5f1dafcfe9303b03dc421 (diff)
downloadcarton-d93d120c0330f6a9879f4e4a3c64af61a26db918.tar.gz
Fix example --from argument
The argument to --from for cpanm must be an absolute path to be interpreted correctly
-rw-r--r--lib/Carton.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Carton.pm b/lib/Carton.pm
index 289e51c..08f3b48 100644
--- a/lib/Carton.pm
+++ b/lib/Carton.pm
@@ -144,7 +144,7 @@ allowing you to simply use L<cpanm> (which has a
L<standalone version|App::cpanminus/"Downloading the standalone executable">)
instead of installing Carton on a remote machine.
- > cpanm -L local --from vendor/cache --installdeps --notest --quiet .
+ > cpanm -L local --from "$PWD/vendor/cache" --installdeps --notest --quiet .
=head1 PERL VERSIONS