Skip to content

Commit

Permalink
stow: remove misleading comment about current dir
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aspiers committed Apr 7, 2024
1 parent 143dbf8 commit cbc12d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/stow.in
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cbc12d7

Please sign in to comment.