mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
I'm sick of having to type (cd ..; perl mkfiles.pl) when I'm working
on Unix. So now mkfiles.pl will look in .. as well as . when searching for Recipe, so I can run `perl ../mkfiles.pl' and it will Just Work. [originally from svn r3016]
This commit is contained in:
parent
b109918032
commit
54d5f41c95
@ -9,7 +9,13 @@
|
||||
|
||||
use FileHandle;
|
||||
|
||||
open IN, "Recipe" or die "unable to open Recipe file\n";
|
||||
open IN, "Recipe" or do {
|
||||
# We want to deal correctly with being run from one of the
|
||||
# subdirs in the source tree. So if we can't find Recipe here,
|
||||
# try one level up.
|
||||
chdir "..";
|
||||
open IN, "Recipe" or die "unable to open Recipe file\n";
|
||||
};
|
||||
|
||||
# HACK: One of the source files in `charset' is auto-generated by
|
||||
# sbcsgen.pl. We need to generate that _now_, before attempting
|
||||
|
Loading…
Reference in New Issue
Block a user