[Midnightbsd-cvs] mports: Utils.pm: Die is a subdir makefile lists a port that doesn't
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Mon Sep 10 22:30:15 EDT 2007
Log Message:
-----------
Die is a subdir makefile lists a port that doesn't exist.
Modified Files:
--------------
mports/Tools/lib/Mport:
Utils.pm (r1.3 -> r1.4)
-------------- next part --------------
Index: Utils.pm
===================================================================
RCS file: /home/cvs/mports/Tools/lib/Mport/Utils.pm,v
retrieving revision 1.3
retrieving revision 1.4
diff -LTools/lib/Mport/Utils.pm -LTools/lib/Mport/Utils.pm -u -r1.3 -r1.4
--- Tools/lib/Mport/Utils.pm
+++ Tools/lib/Mport/Utils.pm
@@ -37,7 +37,7 @@
sub _do_recurse {
my ($code, $cwd) = @_;
- chdir($cwd);
+ chdir($cwd) || die "Couldn't chdir to $cwd: $!\n";
# Calling make is expensive. Only do so if we need to.
if (-e 'pkg-descr' || -e 'pkg-plist') {
More information about the Midnightbsd-cvs
mailing list