From: Jacob Bachmeyer Date: Sat, 5 Nov 2022 20:31:15 +0000 (-0500) Subject: Fix example given in comment X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5b7a565c76df09e6377a3a2098107d1a3a4d2870;p=gatekeeper.git Fix example given in comment --- diff --git a/gatekeeper.pl b/gatekeeper.pl index b1981c8..af622ab 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -2335,7 +2335,7 @@ sub mkdir_p { my @dir_steps; # list of intermediate dirs needed # for example, creating bar/baz/quux in an empty /foo populates this list - # with qw( bar bar/baz bar/baz/quux ) + # with qw( /foo/bar /foo/bar/baz /foo/bar/baz/quux ) on POSIX for (@dir_steps = (); @_ && ! -d File::Spec->catdir(@_); pop) { unshift @dir_steps, File::Spec->catdir(@_) }