> On 31. Aug 2022, at 13:21, Jan Rękorajski <j.rekoraj...@gmail.com> wrote: > > On Wed, Aug 31, 2022 at 11:41 AM Arkadiusz Miśkiewicz via pld-devel-en > <email@example.com> wrote: >> >> On 31.08.2022 11:27, Jan Rękorajski wrote: >>> Where will it land now? If you want to protect against landing in >>> non-existing directory you can use '[ -d "$__PWD" ] && cd "$__PWD"' >>> I really prefer to be staying in the same directory where I launched >>> the script in. >> >> Do you include (via source/dot) this script in some other script? > > No, command line. > My common workflow is cd $package; hack spec; builder ... (often with > --short-circuit) and back to hacking.
So the working dir restore is irrelevant. As it’s in builder script, doesn’t affect any external shell. _______________________________________________ pld-devel-en mailing list firstname.lastname@example.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en