From cbc12d7a3b4b41e6658bd46f46fbe3c57d9ae748 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sun, 7 Apr 2024 18:00:03 +0100 Subject: [PATCH] stow: remove misleading comment about current dir The current directory is changed by within_target_do() which is called by `plan_stow()`, `plan_unstow()`, and `process_tasks()`. It is not changed when constructing a new `Stow` object, so remove this outdated and misleading comment. Fixes #102. --- bin/stow.in | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/stow.in b/bin/stow.in index 9147fd1..024b152 100755 --- a/bin/stow.in +++ b/bin/stow.in @@ -474,7 +474,6 @@ sub main { my ($options, $pkgs_to_unstow, $pkgs_to_stow) = process_options(); my $stow = new Stow(%$options); - # current dir is now the target directory $stow->plan_unstow(@$pkgs_to_unstow); $stow->plan_stow (@$pkgs_to_stow);