diff options
Diffstat (limited to 'write_buildcustomize.pl')
-rw-r--r-- | write_buildcustomize.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/write_buildcustomize.pl b/write_buildcustomize.pl index e82f931bae..862b09fab8 100644 --- a/write_buildcustomize.pl +++ b/write_buildcustomize.pl @@ -61,6 +61,9 @@ require Cwd; my $cwd = Cwd::getcwd(); +defined $cwd + or die "$0: Can't determine current working directory\n"; + # lib must be last, as the toolchain modules write themselves into it # as they build, and it's important that @INC order ensures that the partially # written files are always masked by the complete versions. |